EnvSwitcherStyle constructor

const EnvSwitcherStyle({
  1. EdgeInsets margin = const EdgeInsets.all(8.0),
  2. EdgeInsets padding = const EdgeInsets.all(12.0),
  3. Color backgroundColor = Colors.white,
  4. Color iconColor = Colors.blue,
  5. double iconSize = 20.0,
  6. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  7. Border? border,
  8. double elevation = 2.0,
  9. TextStyle titleTextStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Colors.black87),
  10. TextStyle descriptionTextStyle = const TextStyle(fontSize: 12, color: Colors.grey),
  11. TextStyle dialogTitleStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
})

Implementation

const EnvSwitcherStyle({
  this.margin = const EdgeInsets.all(8.0),
  this.padding = const EdgeInsets.all(12.0),
  this.backgroundColor = Colors.white,
  this.iconColor = Colors.blue,
  this.iconSize = 20.0,
  this.borderRadius = const BorderRadius.all(Radius.circular(8.0)),
  this.border,
  this.elevation = 2.0,
  this.titleTextStyle = const TextStyle(
    fontSize: 14,
    fontWeight: FontWeight.w600,
    color: Colors.black87,
  ),
  this.descriptionTextStyle = const TextStyle(
    fontSize: 12,
    color: Colors.grey,
  ),
  this.dialogTitleStyle = const TextStyle(
    fontSize: 18,
    fontWeight: FontWeight.bold,
  ),
});