CustomRaisedButton constructor

const CustomRaisedButton({
  1. Key? key,
  2. bool? loading,
  3. required VoidCallback? onPressed,
  4. VoidCallback? onLongPress,
  5. ValueChanged<bool>? onHover,
  6. ValueChanged<bool>? onFocusChange,
  7. ButtonStyle? style,
  8. FocusNode? focusNode,
  9. bool? autofocus,
  10. Clip? clipBehavior,
  11. required Widget? child,
})

A constructor that takes in Elevated buttons properties.

Implementation

const CustomRaisedButton({
  Key? key,
  this.loading,
  required this.onPressed,
  this.onLongPress,
  this.onHover,
  this.onFocusChange,
  this.style,
  this.focusNode,
  this.autofocus,
  this.clipBehavior,
  required this.child,
}) : super(key: key);