Rendertheme constructor

Rendertheme({
  1. required int maxLevels,
  2. int? mapBackground,
  3. int? mapBackgroundOutside,
  4. required List<Rule> rulesList,
  5. bool? hasBackgroundOutside,
  6. StyleMenu? styleMenu,
})

Implementation

Rendertheme({required this.maxLevels, this.mapBackground, this.mapBackgroundOutside, required this.rulesList, this.hasBackgroundOutside, this.styleMenu}) {
  nodeMatchingCache = LfuCache(capacity: 5000, name: "Node-MatchingCache");
  openWayMatchingCache = LfuCache(capacity: 10000, name: "OpenWay-MatchingCache");
  closedWayMatchingCache = LfuCache(capacity: 5000, name: "ClosedWay-MatchingCache");
}