DarkButton constructor

DarkButton(
  1. String? text,
  2. {DarkButtonSize size = DarkButtonSize.Medium,
  3. required VoidCallback onPressed,
  4. IconData? rightIcon,
  5. IconData? leftIcon,
  6. DarkButtonStyle? style,
  7. double? fontSize}
)

Implementation

DarkButton(this.text,
    {this.size = DarkButtonSize.Medium,
    required this.onPressed,
    this.rightIcon,
    this.leftIcon,
    this.style,
    this.fontSize});