AnimatedFab constructor

const AnimatedFab({
  1. Key? key,
  2. GlobalKey<ScaffoldState>? scaffoldKey,
  3. PreferredSizeWidget? appBar,
  4. Widget? drawer,
  5. required Widget body,
  6. required List<ActionItemModel> actions,
  7. IconData icon1 = Icons.add,
  8. 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);