SmoothActionButton constructor Null safety

const SmoothActionButton(
  1. {required String text,
  2. required dynamic onPressed,
  3. double minWidth = 15,
  4. double height = 20}
)

Implementation

const SmoothActionButton({
  required this.text,
  required this.onPressed,
  this.minWidth = 15,
  this.height = 20,
});