{"id":21174879,"url":"https://github.com/mindinventory/animated_segment","last_synced_at":"2025-07-09T21:31:31.796Z","repository":{"id":38193232,"uuid":"442778988","full_name":"Mindinventory/animated_segment","owner":"Mindinventory","description":"This package will animate a segment. The package provides you with a modern animated fancy segment. Show selection of tab using elastic way animation.","archived":false,"fork":false,"pushed_at":"2022-07-19T06:39:06.000Z","size":1141,"stargazers_count":24,"open_issues_count":0,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-20T21:24:59.028Z","etag":null,"topics":["animated-segment-controller","dart-segment-controller","flutter-animated-segment-controller","flutter-segment-controller","segment-controller"],"latest_commit_sha":null,"homepage":"https://www.mindinventory.com/flutter-app-development.php","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mindinventory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-29T13:20:29.000Z","updated_at":"2023-07-12T09:30:16.000Z","dependencies_parsed_at":"2022-07-14T03:20:33.094Z","dependency_job_id":null,"html_url":"https://github.com/Mindinventory/animated_segment","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Fanimated_segment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Fanimated_segment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Fanimated_segment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Fanimated_segment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory","download_url":"https://codeload.github.com/Mindinventory/animated_segment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225597408,"owners_count":17494149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["animated-segment-controller","dart-segment-controller","flutter-animated-segment-controller","flutter-segment-controller","segment-controller"],"created_at":"2024-11-20T16:56:31.030Z","updated_at":"2024-11-20T16:56:31.983Z","avatar_url":"https://github.com/Mindinventory.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# animated_segment\n\n\n\u003ca href=\"https://pub.dev/packages/animated_segment\"\u003e\u003cimg src=\"https://img.shields.io/pub/v/animated_segment.svg?label=animated_segment\" alt=\"animated_segment version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Mindinventory/animated_segment\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/Mindinventory/animated_segment?style=social\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://developer.android.com\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-android-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://developer.apple.com/ios/\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-iOS-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-Linux-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-Mac-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-web-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"\" style=\"pointer-events: stroke;\" target=\"_blank\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/platform-Windows-blue\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-purple.svg\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\nThis package will animates a segment. Package provides you a modern animated fancy segment. Show selection of tab using elastic way animation.\n\n\n### Animated Segment\n![Animated Segment](https://github.com/Mindinventory/animated_segment/blob/master/assets/animated_segment.gif)\n\n\n## Usage\n\n### Example\n    AnimatedSegment(\n      segmentNames: [Strings.tab_1, Strings.tab_2, Strings.tab_3],\n      onSegmentChanged: (index) {\n        print('Selected Segment Index is: $index');\n      },\n      backgroundColor: AppColors.bgColor,\n      segmentTextColor: AppColors.white,\n      rippleEffectColor: AppColors.primary,\n      selectedSegmentColor: AppColors.primary,\n    );\n\n### Required parameters\n\n##### segmentNames:\nThis property takes List\u003cString\u003e as a parameter and segmentNames is useful to display items in segment.\n\n##### onSegmentChanged:\nCall back called when the user select the new segment and return the selected segment index. Index for the initial selected segment is `0`.\n\n### Optional parameters\n\n##### initialSegment:\nThis property takes int value as a parameter. This is use to set the initial segment from [segmentNames].\n\n##### backgroundColor:\nThis property takes Color value as a parameter. You can change the background color of animated segment. default value is `Color(0xff8AADFB)`\n\n##### segmentTextColor:\nThis property takes Color value as a parameter. You can change the text color of segmented text color. default value is `Color(0xff0217FD)`\n\n##### rippleEffectColor:\nThis property takes Color value as a parameter. You can change the ripple color of segment. default value is `Colors.white`\n\n##### selectedSegmentColor:\nThis property takes Color value as a parameter. You can change the selected segment color of animated segment. default value is `Colors.white`\n\n\n## Guideline for contributors\nContribution towards our repository is always welcome, we request contributors to create a pull request to the develop branch only.\n\n## Guideline to report an issue/feature request\nIt would be great for us if the reporter can share the below things to understand the root cause of the issue.\n- Library version\n- Code snippet\n- Logs if applicable\n- Device specification like (Manufacturer, OS version, etc)\n- Screenshot/video with steps to reproduce the issue\n\n# LICENSE!\nAnimated Segment is [MIT-licensed](https://github.com/Mindinventory/animated_segment/blob/master/LICENSE \"MIT-licensed\").\n\n# Let us know!\nWe’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindinventory%2Fanimated_segment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindinventory%2Fanimated_segment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindinventory%2Fanimated_segment/lists"}