OrkittCoreScaling class

Central scaling coordinator for Orkitt.

Lifecycle:

  1. Call init once after MediaQuery exists
  2. Call update whenever MediaQuery changes (resize/orientation)
  3. Use scaling helpers throughout the app

Properties

hashCode int
The hash code for this object.
no setterinherited
mode ScaleMode
Current scaling mode.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableLog(bool enable) → void
Enable or disable debug logging.
init({required MediaQueryData mediaQuery, required ScaleMode mode, DesignFrame? designFrame, bool debugLog = false, bool force = false}) → void
Initializes scaling infrastructure.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMode(ScaleMode mode) → void
Change scaling mode at runtime.
toString() String
A string representation of this object.
inherited
update(MediaQueryData mediaQuery) → void
Updates scaling on MediaQuery changes.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance OrkittCoreScaling
final