ThemeReader constructor
ThemeReader({
- required SpringThemeData theme,
- required ThemeProperties properties,
- required String root,
- required String label,
- required TextStyle namedStyle(
- String name
- String? shapeToken,
- bool topShape = false,
A reader of the properties below root (a canonical path such as
components.card), whose component is called label in messages.
shapeToken is the Material 3 shape token the component's shape
follows when the theme changed it; topShape rounds the top
corners only.
Implementation
ThemeReader({
required this.theme,
required this.properties,
required this.root,
required this.label,
required this.namedStyle,
this.shapeToken,
this.topShape = false,
}) : _prefix = '',
_display = '',
_entries = {},
_containers = {};