MuseButton constructor
const
MuseButton({
- Key? key,
- String? text,
- IconData? icon,
- ButtonType type = ButtonType.normal,
- ButtonSize size = ButtonSize.normal,
- ButtonNativeType nativeType = ButtonNativeType.normal,
- ButtonBorderType borderType = ButtonBorderType.normal,
- ButtonColors? colors,
- bool hairline = false,
- bool disabled = false,
- bool autofocus = false,
- MainAxisSet? axisSet,
- IconAlignment? iconPosition,
- EdgeInsetsGeometry? padding,
- Gradient? gradient,
- List<
BoxShadow> ? boxShadow, - double? width,
- double? height,
- double? fontSize,
- double? iconSize,
- double? iconGap,
- VoidCallback? click,
- VoidCallback? longPress,
- Widget? slot,
Implementation
const MuseButton({
super.key,
this.text,
this.icon,
this.type = ButtonType.normal,
this.size = ButtonSize.normal,
this.nativeType = ButtonNativeType.normal,
this.borderType = ButtonBorderType.normal,
this.colors,
this.hairline = false,
this.disabled = false,
this.autofocus = false,
this.axisSet,
this.iconPosition,
this.padding,
this.gradient,
this.boxShadow,
this.width,
this.height,
this.fontSize,
this.iconSize,
this.iconGap,
this.click,
this.longPress,
this.slot,
});