ButtonTextStyle constructor

const ButtonTextStyle({
  1. Color selectedColor = Colors.white,
  2. Color unSelectedColor = Colors.black,
  3. Color disabledColor = Colors.grey,
  4. TextStyle textStyle = const TextStyle(),
  5. TextStyle? selectedTextStyle,
})

Implementation

const ButtonTextStyle({
  this.selectedColor = Colors.white,
  this.unSelectedColor = Colors.black,
  this.disabledColor = Colors.grey,
  this.textStyle = const TextStyle(),
  TextStyle? selectedTextStyle,
}) : selectedTextStyle = selectedTextStyle ?? textStyle;