MediumContainedButton constructor

const MediumContainedButton({
  1. required String title,
  2. VoidCallback? onPressed,
  3. bool isEnabled = true,
  4. Key? key,
  5. ContainedButtonColor color = ContainedButtonColor.brand,
})

Implementation

const MediumContainedButton({
  required final String title,
  final VoidCallback? onPressed,
  final bool isEnabled = true,
  final Key? key,
  final ContainedButtonColor color = ContainedButtonColor.brand,
})  : _title = title,
      _onPressed = onPressed,
      _isEnabled = isEnabled,
      _key = key,
      _color = color;