MediumContainedButton constructor
const
MediumContainedButton({
- required String title,
- VoidCallback? onPressed,
- bool isEnabled = true,
- Key? key,
- 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;