SpeedDialFabWidget constructor

SpeedDialFabWidget({
  1. Color secondaryBackgroundColor = Colors.white,
  2. Color secondaryForegroundColor = Colors.black,
  3. Color primaryBackgroundColor = Colors.white,
  4. Color primaryForegroundColor = Colors.black,
  5. IconData primaryIconCollapse = Icons.expand_less,
  6. IconData primaryIconExpand = Icons.expand_less,
  7. double rotateAngle = math.pi,
  8. required List<IconData> secondaryIconsList,
  9. required List<Function> secondaryIconsOnPress,
  10. List<String>? secondaryIconsText,
  11. double primaryElevation = 5.0,
  12. double secondaryElevation = 10.0,
})

Implementation

SpeedDialFabWidget({
  this.secondaryBackgroundColor = Colors.white,
  this.secondaryForegroundColor = Colors.black,
  this.primaryBackgroundColor = Colors.white,
  this.primaryForegroundColor = Colors.black,
  this.primaryIconCollapse = Icons.expand_less,
  this.primaryIconExpand = Icons.expand_less,
  this.rotateAngle = math.pi,
  required this.secondaryIconsList,
  required this.secondaryIconsOnPress,
  this.secondaryIconsText,
  this.primaryElevation = 5.0,
  this.secondaryElevation = 10.0,
});