FButton.raw constructor
const
FButton.raw({
- required VoidCallback? onPress,
- required Widget child,
- FBaseButtonStyle style = Variant.primary,
- VoidCallback? onLongPress,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - ValueChanged<
bool> ? onHoverChange, - ValueChanged<
Set< ? onStateChange,WidgetState> > - bool selected = false,
- Key? key,
Creates a FButton with custom content.
Implementation
const FButton.raw({
required this.onPress,
required this.child,
this.style = Variant.primary,
this.onLongPress,
this.autofocus = false,
this.focusNode,
this.onFocusChange,
this.onHoverChange,
this.onStateChange,
this.selected = false,
super.key,
});