DialogThemeData class

Constructors

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

Properties

alphabetsBarTheme AlphabetsBarThemeData
Alphabets bar Theme.
final
appBar PreferredSizeWidget?
An app bar to display at the top of country list dialog.
final
backgroundColor Color?
Country dialog background color.
final
hashCode int
The hash code for this object.
no setterinherited
isShowAlphabetsBar bool
isShowAlphabetsBar is a bool variable that determines whether or not to display the alphabet bar. If set to true, the alphabet bar will be shown, and if set to false, the alphabet bar will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
isShowDialCode bool
isShowDialCode is a bool variable that determines whether or not to display dial codes. If set to true, dial codes will be shown, and if set to false, dial codes will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
isShowFlag bool
isShowFlag is a bool variable that determines whether or not to display flags. If set to true, flags will be shown, and if set to false, flags will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
isShowFloatButton bool
isShowFloatButton is a bool variable that determines whether or not to display the float button. If set to true, the float button will be shown, and if set to false, the float button will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
isShowLastPickTile bool
isShowLastPickTile is a bool variable that determines whether or not to display the last pick tile. If set to true, the last pick will be shown, and if set to false, the last pick will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
isShowSearchTile bool
isShowSearchTile is a bool variable that determines whether or not to display the search tile. If set to true, the search tile will be shown, and if set to false, the search tile will be hidden. This variable is declared as final, indicating that it can't be reassigned after being initialized.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TextStyle
Country text style.
final
tileHeight double
Height of the tile. tileHeight must be greater than 50.0
final
tilesTheme TilesThemeData
Theme data of dialog tiles.
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