DialogStyle class
Dialog style to custom your dialog
Constructors
- DialogStyle({bool titleDivider = false, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(10)), String semanticsLabel = "", EdgeInsets titlePadding = const EdgeInsets.only(left: 15.0, right: 15.0, top: 10.0), EdgeInsets contentPadding = const EdgeInsets.only(right: 15.0, left: 15.0, top: 0.0, bottom: 15.0), TextStyle? titleTextStyle, TextStyle? contentTextStyle, double elevation = 24, Color? backgroundColor, ShapeBorder? shape})
Properties
- backgroundColor → Color?
-
Background color of dialog
final
- borderRadius → BorderRadius?
-
Set circular border radius for your dialog
final
- contentPadding → EdgeInsets
-
Set padding for your Content
final
- contentTextStyle → TextStyle?
-
Set TextStyle for your Content
final
- elevation → double
-
Elevation for dialog
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticsLabel → String
-
Set semanticslabel for Title
final
- shape → ShapeBorder?
-
Shape for dialog, ignored if you set BorderRadius
final
- titleDivider → bool
-
Divider on title
final
- titlePadding → EdgeInsets
-
Set padding for your Title
final
- titleTextStyle → TextStyle?
-
Set TextStyle for your Title
final
Methods
-
copyWith(
{bool? titleDivider, BorderRadius? borderRadius, String? semanticsLabel, EdgeInsets? titlePadding, EdgeInsets? contentPadding, TextStyle? titleTextStyle, TextStyle? contentTextStyle, double? elevation, Color? backgroundColor, ShapeBorder? shape}) → DialogStyle -
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