factoryFor method

Implementation

AFCreateFunctionalThemeDelegate factoryFor(AFThemeID id) {
  final factory = themeFactories[id];
  if(factory == null) throw AFException("No theme factory registered for $id");
  return factory;
}