UpButton constructor

const UpButton({
  1. Key? key,
  2. String? text,
  3. FocusNode? focusNode,
  4. required Function onPressed,
  5. Widget? child,
  6. dynamic onFocusChange(
    1. bool
    )?,
  7. UpColorType? colorType,
  8. UpButtonType type = UpButtonType.elevated,
  9. UpStyle? style,
  10. Image? image,
  11. IconData? icon,
  12. Widget? widget,
})

Implementation

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