S2ModalHeaderStyle constructor
const
S2ModalHeaderStyle({
- ShapeBorder shape,
- double elevation = 0.5,
- bool useLeading,
- bool centerTitle = false,
- TextStyle textStyle,
- TextStyle errorStyle,
- IconThemeData iconTheme,
- IconThemeData actionsIconTheme,
- Color backgroundColor,
- Brightness brightness,
Create a configuration of modal option header style
Implementation
const S2ModalHeaderStyle({
this.shape,
this.elevation = 0.5,
this.useLeading,
this.centerTitle = false,
this.textStyle,
this.errorStyle,
this.iconTheme,
this.actionsIconTheme,
this.backgroundColor,
this.brightness,
}) : assert(elevation != null),
assert(centerTitle != null);