-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsurface_group_interface.dart
More file actions
84 lines (68 loc) · 2.18 KB
/
Copy pathsurface_group_interface.dart
File metadata and controls
84 lines (68 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import 'package:dcc_toolkit/style/kleurplaat/katjas_kleurplaat.dart';
/// {@template surface_group}
/// Group of colors defined for surfaces in [KatjasKleurplaat].
/// {@endtemplate}
abstract interface class SurfaceGroupInterface<T> {
/// {@template color}
/// The color of the surface.
/// {@endtemplate}
T get color;
/// {@template onColorContrastPlus}
/// The color on the surface with a higher contrast.
/// {@endtemplate}
T get onColorContrast;
/// {@template onColorContrastMinus}
/// The color on the surface with a lower contrast.
/// {@endtemplate}
T get onColorContrastDim;
/// {@template onColorSubtlePlus}
/// The color on the surface with a higher contrast, but more subtle.
/// {@endtemplate}
T get onColorSubtle;
/// {@template onColorSubtleMinus}
/// The color on the surface with a lower contrast, but more subtle.
/// {@endtemplate}
T get onColorSubtleDim;
/// {@template containerLowest}
/// The color of the lowest container.
/// {@endtemplate}
T get containerLowest;
/// {@template containerLow}
/// The color of the low container.
/// {@endtemplate}
T get containerLow;
/// {@template container}
/// The color of the container.
/// {@endtemplate}
T get container;
/// {@template containerHigh}
/// The color of the high container.
/// {@endtemplate}
T get containerHigh;
/// {@template containerHighest}
/// The color of the highest container.
/// {@endtemplate}
T get containerHighest;
/// {@template link}
/// The color of the link.
/// {@endtemplate}
T get link;
/// {@template onColorError}
/// The color on the surface for error.
/// {@endtemplate}
T? get onColorError;
/// {@template onColorSuccess}
/// The color on the surface for success.
/// {@endtemplate}
T? get onColorSuccess;
/// {@template onColorPrimary}
/// The color on the surface for primary.
/// {@endtemplate}
T? get onColorPrimary;
/// {@template onColorPrimaryVariant}
/// The color on the surface for primary variant.
/// {@endtemplate}
T? get onColorPrimaryVariant;
/// Linearly interpolate with another object.
SurfaceGroupInterface<T> lerp(covariant SurfaceGroupInterface<T>? other, double t);
}