DialogThemeData constructor

const DialogThemeData({
  1. TilesThemeData tilesTheme = const TilesThemeData(),
  2. AlphabetsBarThemeData alphabetsBarTheme = const AlphabetsBarThemeData(),
  3. bool isShowLastPickTile = true,
  4. bool isShowSearchTile = true,
  5. bool isShowAlphabetsBar = true,
  6. PreferredSizeWidget? appBar,
  7. bool isShowFlag = true,
  8. bool isShowFloatButton = true,
  9. Color? backgroundColor,
  10. bool isShowDialCode = true,
  11. TextStyle style = const TextStyle(fontSize: 16),
  12. 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");