INNER CODE UNIT · Dart
FixedColorBuilder
TinoGuo/pin_input_text_field · lib/src/builder/color_builder.dart:31
class FixedColorBuilder extends ColorBuilder {
final Color color;
const FixedColorBuilder(this.color);
@override
Color indexProperty(int index) => color;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is FixedColorBuilder &&
runtimeType == other.runtimeType &&
color == other.color;
@override
int get hashCode => color.hashCode;
}