fledge_window

Window management plugin for Fledge games. Fullscreen, borderless, and windowed modes with runtime switching.

pub package

Installation

dependencies:
  fledge_window: ^0.2.1

Quick Start

import 'package:fledge_ecs/fledge_ecs.dart';
import 'package:fledge_window/fledge_window.dart';

void main() async {
  final app = App()
    ..addPlugin(WallTimePlugin())
    ..addPlugin(WindowPlugin.fullscreen(title: 'My Game'));

  await app.run();
}

Toggle modes at runtime:

world.toggleFullscreen();
world.setWindowMode(WindowMode.borderless);
world.cycleWindowMode();

Documentation

See the Fledge documentation site for guides, API reference, and advanced usage.

License

Apache 2.0 - See LICENSE for details.

Libraries

fledge_window
Window management plugin for the Fledge ECS game framework.