ShadcnLayer constructor
const
ShadcnLayer({
- Key? key,
- required ThemeData theme,
- AdaptiveScaling? scaling,
- Widget? child,
- List<
Color> initialRecentColors = const [], - int maxRecentColors = 50,
- ValueChanged<
List< ? onRecentColorsChanged,Color> > - Widget builder(
- BuildContext context,
- Widget? child
- bool enableScrollInterception = false,
- ThemeData? darkTheme,
- ThemeMode themeMode = ThemeMode.system,
- OverlayHandler? popoverHandler,
- OverlayHandler? tooltipHandler,
- bool enableThemeAnimation = true,
Implementation
const ShadcnLayer({
super.key,
required this.theme,
this.scaling,
this.child,
this.initialRecentColors = const [],
this.maxRecentColors = 50,
this.onRecentColorsChanged,
this.builder,
this.enableScrollInterception = false,
this.darkTheme,
this.themeMode = ThemeMode.system,
this.popoverHandler,
this.tooltipHandler,
this.menuHandler,
this.enableThemeAnimation = true,
});