EnvSwitcherStyle class

Styling options for EnvSwitcher

Constructors

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)})
const

Properties

backgroundColor Color
final
border Border?
final
borderRadius BorderRadius
final
descriptionTextStyle TextStyle
final
dialogTitleStyle TextStyle
final
elevation double
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color
final
iconSize double
final
margin EdgeInsets
final
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleTextStyle TextStyle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited