CustomRaisedButton constructor
const
CustomRaisedButton({
- Key? key,
- bool? loading,
- required VoidCallback? onPressed,
- VoidCallback? onLongPress,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - ButtonStyle? style,
- FocusNode? focusNode,
- bool? autofocus,
- Clip? clipBehavior,
- 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);