drawidgets library

Classes

AnimateData<T>
Perform animation upon the data change.
AreaTheme
Theme data of an area with only foreground and background colors. It also provides a lerp static method for animation.
EnsureTextEnvironment
Ensure that the Text widget can display normally.
Foreground
Foreground decoration of both text and icon color.
ForegroundSolid
Foreground decoration of both text and icon color.
InheritAPI<T>
InheritData<T>
SidebarContainer
ThemeAdapt<T extends ThemeBase>
ThemeBase
TitlebarContainer
Tween<T>
Similar to the Tween provided by Flutter, but this one avoids unnecessary overrides and provide a non-nullable value interface to improve performance.

Extensions

Colors on Color
A collection of useful colors.
FindContext on BuildContext

Functions

animatedThemeAdapt<T extends ThemeBase>({Key? key, Duration duration = const Duration(milliseconds: 325), Curve curve = Curves.easeInOut, ThemeMode mode = ThemeMode.system, required T lerp(T, T, double), required T dark, required T light, required Widget builder(BuildContext context, T themeData)}) ThemeAdapt<T>
areaTheme({Key? key, required AreaTheme theme, required Widget child}) Widget
areaThemeSolid({Key? key, required AreaTheme theme, required Widget child}) Widget
lerpColor(Color a, Color b, double t) Color
Optimization over the default Color.lerp provided by Flutter: avoid unnecessary nullable checks.
lerpDouble(double a, double b, double t) double
Optimization over the default lerpDouble function provided by Flutter: avoid unnecessary nullable checks.
lerpInt(int a, int b, double t) int
theme<T extends ThemeBase>({Key? key, required T theme, required Widget child}) Widget