WindowInitSystem class

System that initializes the window on app startup.

This system:

  1. Ensures window_manager is initialized
  2. Gathers display information
  3. Applies the initial window configuration
  4. Shows and focuses the window

It runs only once on the first frame.

Constructors

WindowInitSystem(WindowConfig config)

Properties

config WindowConfig
final
hashCode int
The hash code for this object.
no setterinherited
meta → SystemMeta
Metadata describing this system's data access patterns.
no setter
runCondition → RunCondition?
Optional condition that determines whether this system should run.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run(World world) Future<void>
Runs the system logic.
shouldRun(World world) bool
Returns true if this system should run, based on its runCondition.
toString() String
A string representation of this object.
inherited

Operators

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