NomoButton constructor
const
NomoButton({
- required Widget child,
- Key? key,
- VoidCallback? onPressed,
- bool enableInkwellFeedback = true,
- bool? enabled,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- BorderRadiusGeometry? borderRadius,
- double elevation = 0.0,
- Border? border,
- Color? selectionColor,
- Color? foregroundColor,
- BoxShape? shape,
- bool? expandToConstraints,
- MouseCursor cursor = SystemMouseCursors.click,
Implementation
const NomoButton({
required this.child,
super.key,
this.onPressed,
this.enableInkwellFeedback = true,
this.enabled,
this.backgroundColor,
this.padding,
this.margin,
this.width,
this.height,
this.borderRadius,
this.elevation = 0.0,
this.border,
this.selectionColor,
this.foregroundColor,
this.shape,
this.expandToConstraints,
this.cursor = SystemMouseCursors.click,
});