PageConfig class
Constructors
-
PageConfig({EdgeInsetsGeometry? cardPadding, EdgeInsetsGeometry? cardMargin, BoxConstraints? cardConstraints, Decoration? cardDecoration, AlignmentGeometry begin = Alignment.topLeft, AlignmentGeometry end = Alignment.bottomRight, List<
Color> ? colors, Widget? background, ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual}) -
const
Properties
- background → Widget?
-
The background widget for the page (default is a gradient)
If you want to use a custom background, you can use this property.
When this property is set, the gradient is not shown.
final
- begin → AlignmentGeometry
-
The begin alignment for the gradient
final
- cardConstraints → BoxConstraints?
-
The constraints for the card
final
- cardDecoration → Decoration?
-
The decoration for the card
final
- cardMargin → EdgeInsetsGeometry?
-
The margin for the card
final
- cardPadding → EdgeInsetsGeometry?
-
The padding for the card
final
-
colors
→ List<
Color> ? -
The colors for the gradient on the background
final
- end → AlignmentGeometry
-
The end alignment for the gradient
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyboardDismissBehavior → ScrollViewKeyboardDismissBehavior
-
The behavior for the keyboard dismiss
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{EdgeInsetsGeometry? cardPadding, EdgeInsetsGeometry? cardMargin, BoxConstraints? cardConstraints, Decoration? cardDecoration, AlignmentGeometry? begin, AlignmentGeometry? end, List< Color> ? colors, Widget? background, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior}) → PageConfig -
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