FButton.raw constructor

const FButton.raw({
  1. required VoidCallback? onPress,
  2. required Widget child,
  3. FButtonStyle style = Variant.primary,
  4. VoidCallback? onLongPress,
  5. bool autofocus = false,
  6. FocusNode? focusNode,
  7. ValueChanged<bool>? onFocusChange,
  8. 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,
});