SpeedDial constructor

SpeedDial({
  1. Key? key,
  2. List<SpeedDialChild> children = const [],
  3. bool visible = true,
  4. Color? backgroundColor,
  5. Color? foregroundColor,
  6. Color? activeBackgroundColor,
  7. Color? activeForegroundColor,
  8. Gradient? gradient,
  9. BoxShape gradientBoxShape = BoxShape.rectangle,
  10. double elevation = 6.0,
  11. double buttonSize = 56.0,
  12. Widget? dialRoot,
  13. bool useInkWell = false,
  14. double overlayOpacity = 0.8,
  15. Color? overlayColor,
  16. String? tooltip,
  17. String? heroTag,
  18. AnimatedIconData? animatedIcon,
  19. IconThemeData? animatedIconTheme,
  20. IconData? icon,
  21. IconData? activeIcon,
  22. Widget? child,
  23. Widget? activeChild,
  24. bool useRotationAnimation = true,
  25. IconThemeData? iconTheme,
  26. Widget? label,
  27. Widget? activeLabel,
  28. Widget labelTransitionBuilder(
    1. Widget,
    2. Animation<double>
    )?,
  29. double marginBottom = 16,
  30. double marginEnd = 16,
  31. VoidCallback? onOpen,
  32. VoidCallback? onClose,
  33. SpeedDialOrientation orientation = SpeedDialOrientation.Up,
  34. bool closeManually = false,
  35. bool renderOverlay = false,
  36. ShapeBorder shape = const CircleBorder(),
  37. Curve curve = Curves.linear,
  38. VoidCallback? onPress,
  39. int animationSpeed = 150,
  40. ValueNotifier<bool>? openCloseDial,
  41. double childMarginBottom = 0,
  42. double childMarginTop = 0,
})

Implementation

SpeedDial({
  Key? key,
  this.children = const [],
  this.visible = true,
  this.backgroundColor,
  this.foregroundColor,
  this.activeBackgroundColor,
  this.activeForegroundColor,
  this.gradient,
  this.gradientBoxShape = BoxShape.rectangle,
  this.elevation = 6.0,
  this.buttonSize = 56.0,
  this.dialRoot,
  this.useInkWell = false,
  this.overlayOpacity = 0.8,
  this.overlayColor,
  this.tooltip,
  this.heroTag,
  this.animatedIcon,
  this.animatedIconTheme,
  this.icon,
  this.activeIcon,
  this.child,
  this.activeChild,
  this.useRotationAnimation = true,
  this.iconTheme,
  this.label,
  this.activeLabel,
  this.labelTransitionBuilder,
  this.marginBottom = 16,
  this.marginEnd = 16,
  this.onOpen,
  this.onClose,
  this.orientation = SpeedDialOrientation.Up,
  this.closeManually = false,
  this.renderOverlay = false,
  this.shape = const CircleBorder(),
  this.curve = Curves.linear,
  this.onPress,
  this.animationSpeed = 150,
  this.openCloseDial,
  this.childMarginBottom = 0,
  this.childMarginTop = 0,
}) : super(key: key);