{"id":21174853,"url":"https://github.com/mindinventory/floating_bottom_bar","last_synced_at":"2025-07-09T21:31:20.832Z","repository":{"id":56828941,"uuid":"442667881","full_name":"Mindinventory/floating_bottom_bar","owner":"Mindinventory","description":"This package will animate a floating action button at the center and icons at the bottomNavigationBar using AnimatedContainer and SlideTransition respectively.","archived":false,"fork":false,"pushed_at":"2024-02-13T06:25:30.000Z","size":3419,"stargazers_count":22,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T07:22:27.342Z","etag":null,"topics":["animated-bottom-bar","bottom-bar","floating-bottom-bar","flutter-animated-bar"],"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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-12-29T05:19:19.000Z","updated_at":"2025-01-19T08:39:07.000Z","dependencies_parsed_at":"2024-02-13T07:39:29.021Z","dependency_job_id":null,"html_url":"https://github.com/Mindinventory/floating_bottom_bar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mindinventory/floating_bottom_bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Ffloating_bottom_bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Ffloating_bottom_bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Ffloating_bottom_bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Ffloating_bottom_bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory","download_url":"https://codeload.github.com/Mindinventory/floating_bottom_bar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2Ffloating_bottom_bar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264503949,"owners_count":23618762,"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-bottom-bar","bottom-bar","floating-bottom-bar","flutter-animated-bar"],"created_at":"2024-11-20T16:56:25.375Z","updated_at":"2025-07-09T21:31:19.702Z","avatar_url":"https://github.com/Mindinventory.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# floating_bottom_bar\n\n\nThis package will animate a floating action button at the center and icons at the bottomNavigationBar using [AnimatedContainer](https://api.flutter.dev/flutter/widgets/AnimatedContainer-class.html) and [SlideTransition](https://api.flutter.dev/flutter/widgets/SlideTransition-class.html) respectively.\n\n\n### Floating Bottom Bar\n![Floating Bottom Bar](https://github.com/mi-ghanshyam/floating_bottom_bar/blob/master/assets/gif/floating_bottom_bar.gif)\n\n\n## Usage\n\n### Example\n```dart\n    bottomNavigationBar: AnimatedBottomNavigationBar(\n      barColor: Colors.white,\n      controller: FloatingBottomBarController(initialIndex: 1),\n      bottomBar: [\n        BottomBarItem(\n          icon: const Icon(Icons.home, size: example.Dimens.iconNormal),\n          iconSelected: const Icon(Icons.home,\n              color: example.AppColors.cherryRed,\n              size: example.Dimens.iconNormal),\n          title: example.Strings.home,\n          dotColor: example.AppColors.cherryRed,\n          onTap: (value) {\n            setState(() {\n              index = value;\n            });\n            log('Home $value');\n          },\n        ),\n        BottomBarItem(\n          icon:\n              const Icon(Icons.photo, size: example.Dimens.iconNormal),\n          iconSelected: const Icon(Icons.photo,\n              color: example.AppColors.cherryRed,\n              size: example.Dimens.iconNormal),\n          title: example.Strings.search,\n          dotColor: example.AppColors.cherryRed,\n          onTap: (value) {\n            setState(() {\n              index = value;\n            });\n            log('Search $value');\n          },\n        ),\n        BottomBarItem(\n          icon:\n              const Icon(Icons.person, size: example.Dimens.iconNormal),\n          iconSelected: const Icon(Icons.person,\n              color: example.AppColors.cherryRed,\n              size: example.Dimens.iconNormal),\n          title: example.Strings.person,\n          dotColor: example.AppColors.cherryRed,\n          onTap: (value) {\n            setState(() {\n              index = value;\n            });\n            log('Profile $value');\n          },\n        ),\n        BottomBarItem(\n          icon: const Icon(Icons.settings,\n              size: example.Dimens.iconNormal),\n          iconSelected: const Icon(Icons.settings,\n              color: example.AppColors.cherryRed,\n              size: example.Dimens.iconNormal),\n          title: example.Strings.settings,\n          dotColor: example.AppColors.cherryRed,\n          onTap: (value) {\n            setState(() {\n              index = value;\n            });\n            log('Settings $value');\n          },\n        ),\n      ],\n      bottomBarCenterModel: BottomBarCenterModel(\n        centerBackgroundColor: example.AppColors.cherryRed,\n        centerIcon: const FloatingCenterButton(\n          child: Icon(\n            Icons.add,\n            color: AppColors.white,\n          ),\n        ),\n        centerIconChild: [\n          FloatingCenterButtonChild(\n            child: const Icon(\n              Icons.home,\n              color: AppColors.white,\n            ),\n            onTap: () =\u003e log('Item1'),\n          ),\n          FloatingCenterButtonChild(\n            child: const Icon(\n              Icons.access_alarm,\n              color: AppColors.white,\n            ),\n            onTap: () =\u003e log('Item2'),\n          ),\n          FloatingCenterButtonChild(\n            child: const Icon(\n              Icons.ac_unit_outlined,\n              color: AppColors.white,\n            ),\n            onTap: () =\u003e log('Item3'),\n          ),\n        ],\n      ),\n    ),\n```\n\n### Required parameters\n\n##### bottomBar:\nThis property takes List\u003cBottomBarItemsModel\u003e as a parameter which are use to show the icons in the bottomNavigationBar.\n\n##### bottomBarCenterModel:\nBottomBarCenterModel class is model class for bottom menu. It takes icon, iconSelected, title, titleStyle as parameters.\n\n##### controller:\nFloatingBottomBarController is used to give the initial index to the bottom bar to have the pre selected item form the bottom bar.\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%2Ffloating_bottom_bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmindinventory%2Ffloating_bottom_bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmindinventory%2Ffloating_bottom_bar/lists"}