ResponsiveFloatingActionButton constructor

ResponsiveFloatingActionButton({
  1. Key? key,
  2. Widget? child,
  3. String? tooltip,
  4. Color? foregroundColor,
  5. Color? backgroundColor,
  6. Color? focusColor,
  7. Color? hoverColor,
  8. Color? splashColor,
  9. Object? heroTag,
  10. double? elevation,
  11. double? focusElevation,
  12. double? hoverElevation,
  13. double? highlightElevation,
  14. double? disabledElevation,
  15. required VoidCallback onPressed,
  16. ShapeBorder? shape,
  17. Clip clipBehavior = Clip.none,
  18. FocusNode? focusNode,
  19. bool autofocus = false,
  20. MaterialTapTargetSize? materialTapTargetSize,
  21. bool isExtended = false,
})

Implementation

ResponsiveFloatingActionButton({
  Key? key,
  Widget? child,
  String? tooltip,
  Color? foregroundColor,
  Color? backgroundColor,
  Color? focusColor,
  Color? hoverColor,
  Color? splashColor,
  Object? heroTag,
  double? elevation,
  double? focusElevation,
  double? hoverElevation,
  double? highlightElevation,
  double? disabledElevation,
  required VoidCallback onPressed,
  ShapeBorder? shape,
  Clip clipBehavior = Clip.none,
  FocusNode? focusNode,
  bool autofocus = false,
  MaterialTapTargetSize? materialTapTargetSize,
  bool isExtended = false,
}) : super(
  key: key,
  child: child,
  tooltip: tooltip,
  foregroundColor: foregroundColor,
  backgroundColor: backgroundColor,
  focusColor: focusColor,
  hoverColor: hoverColor,
  splashColor: splashColor,
  heroTag: heroTag,
  elevation: elevation,
  focusElevation: focusElevation,
  hoverElevation: hoverElevation,
  highlightElevation: highlightElevation,
  disabledElevation: disabledElevation,
  onPressed: onPressed,
  mini: ResponsiveHelper.currently(ScreenType.Watch),
  shape: shape,
  clipBehavior: clipBehavior,
  focusNode: focusNode,
  autofocus: autofocus,
  materialTapTargetSize: materialTapTargetSize,
  isExtended: isExtended,
);