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