BuilderWithTheme typedef

BuilderWithTheme = Widget Function(BuildContext, ThemeSwitcherCallback callback)

A builder function that provides the BuildContext and a callback function to switch the theme.

Implementation

typedef BuilderWithTheme = Widget Function(
    BuildContext, ThemeSwitcherCallback callback);