VButton constructor
const
VButton({
- Key? key,
- void onPress()?,
- VButtonVariant? variant,
- VButtonSize size = VButtonSize.md,
- bool autofocus = false,
- FocusNode? focusNode,
- bool disabled = false,
- bool selected = false,
- bool fullwidth = false,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- Widget? prefix,
- Widget? suffix,
- Widget? child,
- String? tooltip,
Implementation
const VButton({
super.key,
this.onPress,
this.variant,
this.size = VButtonSize.md,
this.autofocus = false,
this.focusNode,
this.disabled = false,
this.selected = false,
this.fullwidth = false,
this.mainAxisAlignment = MainAxisAlignment.center,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.prefix,
this.suffix,
this.child,
this.tooltip,
});