VButton constructor
const
VButton({
- Key? key,
- VoidCallback? onTap,
- Widget? child,
- VbuttonType type = VbuttonType.primary,
- Text? text,
- bool block = false,
- bool plain = false,
- bool disabled = false,
- bool hairline = false,
- bool loading = false,
- VButtonShape shape = VButtonShape.little,
- VButtonSize size = VButtonSize.normal,
- Icon? icon,
- Color? color,
Implementation
const VButton({
Key? key,
this.onTap,
this.child,
this.type = VbuttonType.primary,
this.text,
this.block = false,
this.plain = false,
this.disabled = false,
this.hairline = false,
this.loading = false,
this.shape = VButtonShape.little,
this.size = VButtonSize.normal,
this.icon,
this.color,
}) : super(key: key);