PueTheme class
The PueTheme contains all of the information for descendant Pue
widgets.
These fields will be used to help descendant PueHeaders, PueBodys and PueFooters
have consistent gutters and styling
- Inheritance
-
- Object
- ChangeNotifier
- PueTheme
Constructors
Properties
- background ↔ Widget?
-
This controls the background of the Pueprint or SoloPuePage if using
outside of a flow.
getter/setter pair
- context ↔ BuildContext
-
getter/setter pair
- gutters ↔ double
-
This is the horizontal padding of descendant PueHeaders, PueBodys and PueFooters.
This helps to ensure
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- headerSubtextStyle ↔ TextStyle?
-
getter/setter pair
- headerTextStyle ↔ TextStyle?
-
TBD: This will cap the max width of the PueHeaders, PueBodys and PueFooters
for web and desktop view
The text style for the main header text, as well as subtext. This is used
in the PueHeader
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
copyWith(
{required BuildContext context, double? gutters, TextStyle? headerTextStyle, TextStyle? headerSubtextStyle, Widget? background}) → PueTheme -
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
setState(
PueTheme state) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited