UpButton constructor
const
UpButton({
- Key? key,
- String? text,
- required Function onPressed,
- Widget? child,
- UpColorType? colorType,
- UpButtonType type = UpButtonType.elevated,
- UpStyle? style,
- Image? image,
- IconData? icon,
Implementation
const UpButton({
Key? key,
this.text,
required this.onPressed,
this.child,
this.colorType,
this.type = UpButtonType.elevated,
this.style,
this.image,
this.icon,
}) : super(key: key);