DartBlockColorFamily class

A brightness-aware set of colors that mirrors Flutter's ColorScheme pattern. This class holds pre-resolved ColorFamily instances, so you don't need to pass brightness repeatedly.

Constructors

DartBlockColorFamily({required ColorFamily number, required ColorFamily boolean, required ColorFamily variable, required ColorFamily function, required ColorFamily string})
const
DartBlockColorFamily.fromColors(DartBlockColors colors, Brightness brightness)
Create a DartBlockColorFamily from DartBlockColors and brightness.
factory

Properties

boolean ColorFamily
final
function ColorFamily
final
hashCode int
The hash code for this object.
no setterinherited
number ColorFamily
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
string ColorFamily
final
variable ColorFamily
final

Methods

getDartBlockDataTypeColorFamily(DartBlockDataType dataType) ColorFamily
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