PueTheme class Null safety

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



PueTheme({required BuildContext context, double gutters = PueConstants.defaultGutters, TextStyle? headerTextStyle, TextStyle? headerSubtextStyle, Widget? background})


background Widget?
This controls the background of the Pueprint or SoloPuePage if using outside of a flow.
read / write
context BuildContext
read / write
gutters double
This is the horizontal padding of descendant PueHeaders, PueBodys and PueFooters. This helps to ensure
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
hasListeners bool
Whether any listeners are currently registered. [...]
@protected, read-only, inherited
headerSubtextStyle TextStyle?
read / write
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
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


addListener(VoidCallback listener) → void
Register a closure to be called when the object changes. [...]
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 and removeListener will throw after the object is disposed). [...]
@mustCallSuper, inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
notifyListeners() → void
Call all the registered listeners. [...]
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that are notified when the object changes. [...]
setState(PueTheme state) → void
toString() String
A string representation of this object. [...]


operator ==(Object other) bool
The equality operator. [...]