FButton.raw constructor
const
FButton.raw({
- required VoidCallback? onPress,
- required Widget child,
- FButtonStyle style = Variant.primary,
- VoidCallback? onLongPress,
- bool autofocus = false,
- FocusNode? focusNode,
- ValueChanged<
bool> ? onFocusChange, - 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,
super.key,
});