VButton constructor

const VButton({
  1. Key? key,
  2. VoidCallback? onTap,
  3. Widget? child,
  4. VbuttonType type = VbuttonType.primary,
  5. Text? text,
  6. bool block = false,
  7. bool plain = false,
  8. bool disabled = false,
  9. bool hairline = false,
  10. bool loading = false,
  11. VButtonShape shape = VButtonShape.little,
  12. VButtonSize size = VButtonSize.normal,
  13. Icon? icon,
})

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})
    : super(key: key);