SmoothActionButton constructor

SmoothActionButton({
  1. required String text,
  2. required VoidCallback? onPressed,
  3. double? minWidth,
  4. double? height,
  5. int? lines,
  6. Color? textColor,
})

Implementation

SmoothActionButton({
  required this.text,
  required this.onPressed,
  this.minWidth,
  this.height,
  this.lines,
  this.textColor,
}) : assert(text.isNotEmpty);