Create grouped FloatingActionButton which can expand and collapse some widgets with animation.
- Create FloatingActionButton with expandable children so easily
- Makes your code clean and readable
Import:
import 'package:grouped_action_buttons/grouped_action_buttons_package.dart';
you can also checkout example application
GroupedActionButtons(
distance: 112,
openButtonIcon: const Icon(Icons.edit),
closeButtonIcon: const Icon(Icons.close),
children: [
ActionButton(
onPressed: () => print('b1'),
backgroundColor: Colors.red,
icon: const Icon(Icons.abc_rounded),
),
ActionButton(
onPressed: () => print('b2'),
icon: const Icon(Icons.ac_unit),
),
ActionButton(
onPressed: () => print('b3'),
icon: const Icon(Icons.access_alarms),
),
],
),
for more info checkout github repository. Package repository: https://github.com/aminJamali/grouped-action-buttons