FrameMeterTheme class final
How the frame meter looks, the theme's frame-meter (the meter is on
with spring.flutter.frame-meter.enabled). A value the theme does not
set comes from its colors and typography.
frame-meter:
background: { color: $colors.surface, alpha: 85% }
foreground: $colors.on-surface
good: $neon.green
warning: $neon.yellow
bad: $colors.error
text-style: label-small
- Annotations
Constructors
Properties
- background → Color?
-
The panel's fill; the surface at 85% by default.
final
- bad → Color?
-
A frame over twice the budget; the error color by default.
final
- foreground → Color?
-
The text; the color on the surface by default.
final
- good → Color?
-
A frame within the budget; the primary color by default.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → String?
-
The typography style of the text (
label-small), by canonical name;label-smallby default.final - warning → Color?
-
A frame up to twice the budget; the tertiary color by default.
final
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.
override
Static Methods
-
parse(
ThemeProperties p) → FrameMeterTheme -
Reads
frame-meterofp; every valuenullwhen there is none.