BootstrapButton constructor
const
BootstrapButton({
- Key? key,
- VoidCallback? onPressed,
- VoidCallback? onLongPress,
- required Widget child,
- ValueChanged<
bool> ? onHover, - ValueChanged<
bool> ? onFocusChange, - FocusNode? focusNode,
- bool autofocus = false,
- BootstrapButtonType type = BootstrapButtonType.defaults,
- BootstrapButtonSize size = BootstrapButtonSize.defaults,
- bool outline = false,
Implementation
const BootstrapButton({
Key? key,
this.onPressed,
this.onLongPress,
required this.child,
this.onHover,
this.onFocusChange,
this.focusNode,
this.autofocus = false,
this.type = BootstrapButtonType.defaults,
this.size = BootstrapButtonSize.defaults,
this.outline = false,
}) : super(key: key);