ui/courier_background library

Classes

CourierBackground
Paints color behind child when it's set, and adjusts the theme below it so the default text, icons, dividers and sheets stay readable on that color.

Functions

courierThemeForBackground(ThemeData base, Color background) → ThemeData
base with background as the surface color. When background is dark in a light theme, or light in a dark theme, the default foreground colors switch to white or black.
mergeCourierTextStyle(TextStyle? base, TextStyle? style) → TextStyle?
style on top of base, so a style that leaves fields out keeps the default's values for them instead of falling back to the surrounding text style.