SmoothLeadingButton constructor

const SmoothLeadingButton({
  1. required SmoothLeadingAction action,
  2. required Color? foregroundColor,
  3. double? size,
})

Implementation

const SmoothLeadingButton({
  required this.action,
  required this.foregroundColor,
  this.size,
}) : assert(size == null || size >= 0.0);