StyleSheetManager<T extends FlutterStyleSheet> constructor

StyleSheetManager<T extends FlutterStyleSheet>(
  1. Map<String, CreateSheet<T>> createSheets, {
  2. bool hotReload = false,
})

Implementation

StyleSheetManager(Map<String, CreateSheet<T>> createSheets,
    {this.hotReload = false})
    : assert(createSheets.isNotEmpty, 'Sheet cannot empty!'),
      _createSheets = createSheets,
      sheets = {};