drawidgets
library
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
-