propertyName method

String propertyName(
  1. String path
)

The full name of the property at path as written in files, for error messages; the shared part's properties also name the theme.

Implementation

String propertyName(String path) => name == 'light' || name == 'dark'
    ? 'spring.flutter.theme.$path (theme $name)'
    : 'spring.flutter.theme.themes.$name.$path';