MaterialBanner class Null safety

Annotations
  • @freezed

Constructors

MaterialBanner({Key? key, required Widget content, TextStyle? contentTextStyle, required List<Widget> actions, double? elevation, Widget? leading, Color? backgroundColor, Color? surfaceTintColor, Color? shadowColor, Color? dividerColor, EdgeInsets? padding, EdgeInsets? leadingPadding, @Default(false) bool forceActionsBelow, @Default(OverflowBarAlignment.end) OverflowBarAlignment overflowAlignment, Callback? onVisible})
const
factory
MaterialBanner.fromJson(Map<String, Object?> json)
factory

Properties

actions → List<Widget>
read-only, inherited
backgroundColor → Color?
read-only, inherited
content → Widget
read-only, inherited
contentTextStyle → TextStyle?
read-only, inherited
copyWith → $MaterialBannerCopyWith<MaterialBanner>
@JsonKey(ignore: true), read-only, inherited
dividerColor → Color?
read-only, inherited
elevation → double?
read-only, inherited
forceActionsBelow → bool
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
key → Key?
read-only, inherited
leading → Widget?
read-only, inherited
leadingPadding → EdgeInsets?
read-only, inherited
onVisible → Callback?
read-only, inherited
overflowAlignment → OverflowBarAlignment
read-only, inherited
padding → EdgeInsets?
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
shadowColor → Color?
read-only, inherited
surfaceTintColor → Color?
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited