ThemeReader constructor

ThemeReader({
  1. required SpringThemeData theme,
  2. required ThemeProperties properties,
  3. required String root,
  4. required String label,
  5. required TextStyle namedStyle(
    1. String name
    ),
  6. String? shapeToken,
  7. 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 = {};