ConditionalFormatter class
Service that applies conditional formatting to elements
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
addConditionalRule(
ReportElement element, Map< String, dynamic> rule) → void - Adds a new conditional formatting rule
-
applyRules(
dynamic value, List< Map< rules) → Map<String, dynamic> >String, dynamic> - Applies the conditional formatting rules to a value
-
applyTextStyle(
dynamic value, List< Map< rules, TextStyle baseStyle) → TextStyle?String, dynamic> > - Creates a TextStyle from the applied rules
-
getConditionalRules(
ReportElement element) → List< Map< String, dynamic> > - Returns the conditional formatting rules of an element
-
isConditionalFormattingEnabled(
ReportElement element) → bool - Whether an element has conditional formatting enabled
-
removeConditionalRule(
ReportElement element, int index) → void - Removes a conditional formatting rule
-
updateConditionalRule(
ReportElement element, int index, Map< String, dynamic> rule) → void - Updates a conditional formatting rule