SmallContainedButton constructor

const SmallContainedButton({
  1. Key? key,
  2. required String title,
  3. VoidCallback? onPressed,
  4. bool isEnabled = true,
  5. 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;