OwlnextButton constructor
const
OwlnextButton({
- Key? key,
- required Function callback,
- ButtonType type = ButtonType.classic,
- bool isAsync = false,
- bool enabled = true,
- CustomButtonType? customType,
- required Widget child,
- bool isExpanded = false,
- @Deprecated("instead, use minWidth parameter") double? customWidth,
- double? minWidth,
- double? minHeight,
- Color? leftDotColorOverride,
- Color? rightDotColorOverride,
- double? loaderSize,
- bool? isOutlined = false,
- EdgeInsets? padding,
Owlnext Button Based on Material design and uses ElevatedButton
Can be used with ButtonType type, to determine default behavior
Can be overrided with the props customType, with a custom CustomButtonType to have specific theme
Implementation
const OwlnextButton({
super.key,
required this.callback,
this.type = ButtonType.classic,
this.isAsync = false,
this.enabled = true,
this.customType,
required this.child,
this.isExpanded = false,
@Deprecated("instead, use minWidth parameter")
this.customWidth,
this.minWidth,
this.minHeight,
this.leftDotColorOverride,
this.rightDotColorOverride,
this.loaderSize,
this.isOutlined = false,
this.padding,
});