CacheKeys class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
createDisplayModeKey ({required double width , required int depth , required String path })
→ CacheKey
Режим отображения зависит только от бакета ширины, поэтому путь в ключ
не включается (иначе кардинальность кэша раздувалась бы по числу путей).
createFractionsKey (List <Level > levels , double availableWidth , {double ? initialLevel2Width , double ? initialLevel3Width , double ? initialLevel4Width })
→ CacheKey
initialLevel2Width/initialLevel3Width/initialLevel4Width включены
в ключ, чтобы разные фичи с разными настроенными начальными ширинами
не получали чужой закэшированный результат.
createLayoutKey ({required double width , required int depth , required String path })
→ CacheKey
createMinSizesKey (List <Level > levels )
→ CacheKey
createPathPrefix (String path )
→ String
Префикс ключей кэша, привязанный к фиче (первому сегменту пути).
createSavedWidthsKey (List <Level > levels , Map <Level , double > ? savedWidths , double availableWidth )
→ CacheKey
createVisibilityKey ({required double width , required int depth , required String path })
→ CacheKey
multilevel_navigator 2.0.0