ThemeModel class

Inheritance

Constructors

ThemeModel(WidgetModel parent, String? id, {dynamic brightness, dynamic background, dynamic onbackground, dynamic shadow, dynamic outline, dynamic surface, dynamic onsurface, dynamic surfacevariant, dynamic onsurfacevariant, dynamic inversesurface, dynamic oninversesurface, dynamic primary, dynamic onprimary, dynamic primarycontainer, dynamic onprimarycontainer, dynamic inverseprimary, dynamic secondary, dynamic onsecondary, dynamic secondarycontainer, dynamic onsecondarycontainer, dynamic tertiarycontainer, dynamic ontertiarycontainer, dynamic error, dynamic onerror, dynamic errorcontainer, dynamic onerrorcontainer})

Properties

ancestors List?
no setterinherited
animations List<AnimationModel>?
getter/setter pairinherited
background String?
getter/setter pair
brightness String?
getter/setter pair
busy bool
getter/setter pairinherited
busyObservable BooleanObservable?
no setterinherited
calculatedMaxHeightForPercentage double
no setterinherited
canExpandInfinitelyHigh bool
no setterinherited
canExpandInfinitelyWide bool
no setterinherited
children List<WidgetModel>?
getter/setter pairinherited
color Color?
getter/setter pairinherited
color2 Color?
getter/setter pairinherited
color3 Color?
getter/setter pairinherited
color4 Color?
getter/setter pairinherited
colorscheme String?
getter/setter pair
constraints Constraints
no setterinherited
context BuildContext?
no setterinherited
data ↔ dynamic
getter/setter pairinherited
datasource String?
getter/setter pairinherited
datasources List<IDataSource>?
getter/setter pairinherited
debug bool
getter/setter pairinherited
depth double?
getter/setter pairinherited
descendants List?
no setterinherited
element ↔ XmlElement?
getter/setter pairinherited
elementName String
no setterinherited
elementNamespace String?
no setterinherited
enabled bool
getter/setter pairinherited
error String?
getter/setter pair
errorcontainer String?
getter/setter pair
expandHorizontally bool
no setterinherited
expandVertically bool
no setterinherited
flex int?
getter/setter pairinherited
flexfit ← dynamic
no getterinherited
flexFit FlexFit?
no setterinherited
flexWidth int?
no setterinherited
font String
getter/setter pair
framework FrameworkModel?
getter/setter pairinherited
halign String?
getter/setter pairinherited
hasBoundedHeight bool
no setterinherited
hasBoundedWidth bool
no setterinherited
hasGoneOffscreen bool
getter/setter pairinherited
hasGoneOnscreen bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
height double?
getter/setter pairinherited
heightPercentage double?
no setterinherited
horizontalPadding double
no setterinherited
id String
latefinalinherited
inverseprimary String?
getter/setter pair
inversesurface String?
getter/setter pair
marginBottom double?
getter/setter pairinherited
marginLeft double?
getter/setter pairinherited
marginRight double?
getter/setter pairinherited
margins ← dynamic
no getterinherited
marginTop double?
getter/setter pairinherited
maxHeight double?
getter/setter pairinherited
maxHeightPercentage double?
no setterinherited
maxWidth double?
getter/setter pairinherited
maxWidthPercentage double?
no setterinherited
minHeight double?
getter/setter pairinherited
minHeightPercentage double?
no setterinherited
minWidth double?
getter/setter pairinherited
minWidthPercentage double?
no setterinherited
model WidgetModel
no setterinherited
myMaxHeight double
walks up the model tree looking for the first system non-null maxHeight value
no setterinherited
myMaxHeightOrDefault double
no setterinherited
myMaxWidth double
walks up the model tree looking for the first system non-null maxHeight value
no setterinherited
myMaxWidthForPercentage double
no setterinherited
myMaxWidthOrDefault double
no setterinherited
myMinHeight double
walks up the model tree looking for the first system non-null minHeight value
no setterinherited
myMinWidth double
walks up the model tree looking for the first system non-null minWidth value
no setterinherited
needsVisibilityDetector bool
no setterinherited
offscreen String?
getter/setter pairinherited
oldVisibility double
getter/setter pairinherited
onbackground String?
getter/setter pair
onerror String?
getter/setter pair
onerrorcontainer String?
getter/setter pair
oninversesurface String?
getter/setter pair
onprimary String?
getter/setter pair
onprimarycontainer String?
getter/setter pair
onscreen String?
getter/setter pairinherited
onsecondary String?
getter/setter pair
onsecondarycontainer String?
getter/setter pair
onsurface String?
getter/setter pair
onsurfacevariant String?
getter/setter pair
ontertiarycontainer String?
getter/setter pair
opacity double?
getter/setter pairinherited
outline String?
getter/setter pair
padding ← dynamic
no getterinherited
paddingBottom double?
getter/setter pairinherited
paddingLeft double?
getter/setter pairinherited
paddingRight double?
getter/setter pairinherited
paddingTop double?
getter/setter pairinherited
parent WidgetModel?
getter/setter pairinherited
primary String?
getter/setter pair
primarycontainer String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope Scope?
getter/setter pairinherited
secondary String?
getter/setter pair
secondarycontainer String?
getter/setter pair
shadow String?
getter/setter pair
state String?
getter/setter pairinherited
statelessContext BuildContext?
no setterinherited
surface String?
getter/setter pair
surfacevariant String?
getter/setter pair
system Constraints
finalinherited
tertiarycontainer String?
getter/setter pair
tightest Constraints
no setterinherited
tightestOrDefault Constraints
no setterinherited
tipModel TooltipModel?
getter/setter pairinherited
valign String?
getter/setter pairinherited
verticalPadding double
no setterinherited
viewableChildren List<ViewableWidgetModel>
no setterinherited
viewHeight double?
getter/setter pairinherited
viewWidth double?
getter/setter pairinherited
viewX double?
getter/setter pairinherited
viewY double?
getter/setter pairinherited
visible bool
getter/setter pairinherited
visibleArea double?
getter/setter pairinherited
visibleHeight double?
getter/setter pairinherited
visibleWidth double?
getter/setter pairinherited
width double?
getter/setter pairinherited
widthPercentage double?
no setterinherited

Methods

deserialize(XmlElement xml) → void
Deserializes the FML template elements, attributes and children
override
dispose() → void
override
execute(String caller, String propertyOrFunction, List arguments) Future<bool?>
inherited
findAncestorOfExactType(Type T, {String? id, bool includeSiblings = false}) → dynamic
inherited
findAncestorsOfExactType(Type? T, {String? id, bool includeSiblings = false}) List?
inherited
findChildOfExactType(Type T, {String? id}) → dynamic
inherited
findChildrenOfExactType(Type T, {String? id}) List
inherited
findDescendantOfExactType(Type? T, {String? id}) → dynamic
inherited
findDescendantsOfExactType(Type? T, {String? id}) List?
inherited
findListenerOfExactType(Type T) → dynamic
inherited
findParentOfExactType(Type T, {String? id}) → dynamic
inherited
flexHeight() int?
inherited
getAnimationModel(String id) AnimationModel?
inherited
getHeight({double? heightParent}) double?
inherited
getMaxHeight({double? heightParent}) double?
inherited
getMaxWidth({double? widthParent}) double?
inherited
getMinHeight({double? heightParent}) double?
inherited
getMinWidth({double? widthParent}) double?
inherited
getReactiveView(Widget view) Widget
inherited
getView({Key? key}) Widget
override
getWidth({double? widthParent}) double?
inherited
inflate() List<Widget>
this routine creates views for all of its children
inherited
initialize() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners(String? property, dynamic value, {bool notify = false}) → dynamic
inherited
onDataSourceBusy(IDataSource source, bool busy) → dynamic
inherited
onDataSourceException(IDataSource source, Exception exception) → dynamic
inherited
onDataSourceSuccess(IDataSource source, Data? list) Future<bool>
inherited
onLayoutComplete(ViewableWidgetModel? model) → void
inherited
onPropertyChange(Observable observable) → void
inherited
onVisibilityChanged(VisibilityInfo info) → void
inherited
rebuild() → dynamic
inherited
registerListener(IModelListener listener) → dynamic
inherited
removeAllListeners() → dynamic
inherited
removeChildrenOfExactType(Type T) → void
inherited
removeListener(IModelListener listener) → dynamic
inherited
setFlex(int v) → dynamic
inherited
setLayoutConstraints(BoxConstraints constraints) → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

defaultBrightness String
getter/setter pair
defaultColor String
getter/setter pair
myId String
getter/setter pair

Static Methods

fromXml(WidgetModel parent, XmlElement xml, {String? type}) ThemeModel?
override