DialogThemeData constructor
const
DialogThemeData({
- TilesThemeData tilesTheme = const TilesThemeData(),
- AlphabetsBarThemeData alphabetsBarTheme = const AlphabetsBarThemeData(),
- bool isShowLastPickTile = true,
- bool isShowSearchTile = true,
- bool isShowAlphabetsBar = true,
- PreferredSizeWidget? appBar,
- bool isShowFlag = true,
- bool isShowFloatButton = true,
- Color? backgroundColor,
- bool isShowDialCode = true,
- TextStyle style = const TextStyle(fontSize: 16),
- double tileHeight = 50.0,
Implementation
const DialogThemeData({
this.tilesTheme = const TilesThemeData(),
this.alphabetsBarTheme = const AlphabetsBarThemeData(),
this.isShowLastPickTile = true,
this.isShowSearchTile = true,
this.isShowAlphabetsBar = true,
this.appBar,
this.isShowFlag = true,
this.isShowFloatButton = true,
this.backgroundColor,
this.isShowDialCode = true,
this.style = const TextStyle(fontSize: 16),
this.tileHeight = 50.0,
}) : assert(tileHeight >= 50.0, "tileheight must be greater than 50.0");