AnimatedFab constructor
const
AnimatedFab({
- Key? key,
- GlobalKey<
ScaffoldState> ? scaffoldKey, - PreferredSizeWidget? appBar,
- Widget? drawer,
- required Widget body,
- required List<
ActionItemModel> actions, - IconData icon1 = Icons.add,
- IconData icon2 = Icons.close,
Can be used to provide action buttons in the AnimatedFab using instances of this class
Implementation
const AnimatedFab({
Key? key,
this.scaffoldKey,
this.appBar,
this.drawer,
required this.body,
required this.actions,
this.icon1 = Icons.add,
this.icon2 = Icons.close,
}) : super(key: key);