adaptive<T> method
T
adaptive<T>({
- required T light,
- required T dark,
Picks a value for this theme's declared brightness.
Fleury does not infer the terminal background, so this reflects the application's explicit light/dark choice.
Implementation
T adaptive<T>({required T light, required T dark}) =>
brightness.pick(light: light, dark: dark);