SpeedDial constructor

const SpeedDial({
  1. Key? key,
  2. IconData icon = Icons.add,
  3. IconData closeIcon = Icons.close,
  4. required List<SpeedDialItem> items,
  5. Color? backgroundColor,
  6. Color? foregroundColor,
  7. double spacing = 8.0,
  8. Color? overlayColor,
  9. double overlayOpacity = 0.4,
  10. Duration animationDuration = const Duration(milliseconds: 250),
})

Implementation

const SpeedDial({
  super.key,
  this.icon = Icons.add,
  this.closeIcon = Icons.close,
  required this.items,
  this.backgroundColor,
  this.foregroundColor,
  this.spacing = 8.0,
  this.overlayColor,
  this.overlayOpacity = 0.4,
  this.animationDuration = const Duration(milliseconds: 250),
});