SingleColumnLayoutCustomComponentStyler class
SingleColumnLayoutStylePhase that applies custom styling to specific components.
Each per-component style should be defined within a SingleColumnLayoutComponentStyles and then stored within the given DocumentNode's metadata.
Every time a DocumentNode's metadata changes, this phase needs to re-run so that it picks up any style related changes. Given that the entire style pipeline re-runs every time the document changes, this phase automatically runs at the appropriate time.
- Inheritance
-
- Object
- SingleColumnLayoutStylePhase
- SingleColumnLayoutCustomComponentStyler
Constructors
Properties
- dirtyCallback ← VoidCallback?
-
no getterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void -
inherited
-
markDirty(
) → void -
Marks this phase as needing to re-run its view model calculations.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
style(
Document document, SingleColumnLayoutViewModel viewModel) → SingleColumnLayoutViewModel -
Styles a SingleColumnLayoutViewModel by adjusting the given viewModel.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited