VelocityButton constructor

VelocityButton({
  1. required String title,
  2. Widget? icon,
  3. VoidCallback? onPressed,
  4. double? width,
  5. double height = 40,
  6. bool enabled = true,
  7. Brightness brightness = Brightness.dark,
})

Implementation

VelocityButton({
  required this.title,
  this.icon,
  this.onPressed,
  this.width,
  this.height = 40,
  this.enabled = true,
  this.brightness = Brightness.dark,
});