S2ModalHeaderStyle constructor

const S2ModalHeaderStyle({
  1. ShapeBorder shape,
  2. double elevation = 0.5,
  3. bool useLeading,
  4. bool centerTitle = false,
  5. TextStyle textStyle,
  6. TextStyle errorStyle,
  7. IconThemeData iconTheme,
  8. IconThemeData actionsIconTheme,
  9. Color backgroundColor,
  10. 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);