ScaffoldTheme class
Theme data for customizing Scaffold widget appearance.
This class defines the visual properties that can be applied to Scaffold widgets, including background colors for different sections, loading spark behavior, and keyboard avoidance settings. These properties can be set at the theme level to provide consistent styling across the application.
Constructors
- ScaffoldTheme.new({Color? backgroundColor, Color? headerBackgroundColor, bool? showLoadingSparks, bool? resizeToAvoidBottomInset})
-
const
Properties
- backgroundColor → Color?
-
Background color of the scaffold body.
final
-
Background color of the footer section.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- headerBackgroundColor → Color?
-
Background color of the header section.
final
- resizeToAvoidBottomInset → bool?
-
Whether the scaffold should resize for the onscreen keyboard.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLoadingSparks → bool?
-
Whether to show loading sparks by default.
final
Methods
-
copyWith(
{ValueGetter< Color?> ? backgroundColor, ValueGetter<Color?> ? headerBackgroundColor, ValueGetter<bool?> ? showLoadingSparks, ValueGetter<bool?> ? resizeToAvoidBottomInset}) → ScaffoldTheme -
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 ==(
Object other) → bool -
The equality operator.
override