DialogThemeData class
Theme data for Dialog.
- Annotations
Constructors
- DialogThemeData({BoxConstraints? constraints, EdgeInsets? titlePadding, EdgeInsets? bodyPadding, Color? background, Color? barrierColor, TextStyle? titleTextStyle, TextAlign? bodyTextAlign, ImageFilter? imageFilter})
-
Creates a DialogThemeData.
const
Properties
- background → Color?
-
The background color.
final
- barrierColor → Color?
-
The barrier color.
final
- bodyPadding → EdgeInsets?
-
The body EdgeInsets padding of the body.
Defaults to:
final
- bodyTextAlign → TextAlign?
-
The TextAlign of the body text.
final
- constraints → BoxConstraints?
-
The BoxConstraints of the Dialog.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- imageFilter → ImageFilter?
-
The ImageFilter used for the dialog`s barrier.
final
-
The EdgeInsets padding of the menu.
final
-
The spacing the menu items.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titlePadding → EdgeInsets?
-
The title EdgeInsets padding of the title.
final
- titleTextStyle → TextStyle?
-
The TextStyle for the title.
final
Methods
-
copyWith(
{BoxConstraints? constraints, EdgeInsets? titlePadding, EdgeInsets? bodyPadding, Color? background, Color? barrierColor, TextStyle? titleTextStyle, TextAlign? bodyTextAlign, ImageFilter? imageFilter}) → DialogThemeData - Makes a copy of DialogThemeData overwriting selected fields.
-
merge(
DialogThemeData? other) → DialogThemeData - Merges the theme data DialogThemeData.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant DialogThemeData other) → bool -
The equality operator.
override