EnvSwitcherStyle constructor
const
EnvSwitcherStyle({
- EdgeInsets margin = const EdgeInsets.all(8.0),
- EdgeInsets padding = const EdgeInsets.all(12.0),
- Color backgroundColor = Colors.white,
- Color iconColor = Colors.blue,
- double iconSize = 20.0,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8.0)),
- Border? border,
- double elevation = 2.0,
- TextStyle titleTextStyle = const TextStyle(fontSize: 14, fontWeight: FontWeight.w600, color: Colors.black87),
- TextStyle descriptionTextStyle = const TextStyle(fontSize: 12, color: Colors.grey),
- 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,
),
});