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,
})

Implementation

const UpButton(
    {Key? key,
    this.text,
    required this.onPressed,
    this.child,
    this.colorType,
    this.type = UpButtonType.elevated,
    this.style})
    : super(key: key);