UpButton constructor

const UpButton({
  1. Key? key,
  2. String? text,
  3. required Function onPressed,
  4. Widget? child,
  5. UpColorType? colorType,
  6. UpButtonType type = UpButtonType.elevated,
  7. UpStyle? style,
  8. Image? image,
  9. 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);