ComponentTheme<T extends ComponentThemeData> constructor
const
ComponentTheme<T extends ComponentThemeData> ({})
Creates a ComponentTheme.
Parameters:
data(T, required): Theme data for this component type.child(Widget, required): Child widget.
Implementation
const ComponentTheme({
super.key,
required this.data,
required super.child,
});