ButtonStyle constructor

const ButtonStyle({
  1. required String backgroundColor,
  2. String? disabledColor,
  3. TextStyle textStyle = const TextStyle(),
  4. BoxBorder? border,
  5. String hoverColor = '#0056b3',
})

Implementation

const ButtonStyle({
  required this.backgroundColor,
  this.disabledColor,
  this.textStyle = const TextStyle(),
  this.border,
  this.hoverColor = '#0056b3',
});