main_windows library

Main window management and grid control.

Contains the primary UI layout, split screen management, and grid interaction controllers.

Classes

FloatingEditableTitle
GridAndCanvas
Class that takes care of painting all 2D objects on the grid, including the grid itself, slats and slat hover effects.
SplitScreen
TogglePanel

Mixins

GridControlContract<T extends StatefulWidget>
Contract defining all shared members between grid control mixins. This enables IDE navigation (Find Usages) to work across mixins by providing a single source of truth for all shared method signatures.
GridControlGestureEventsMixin<T extends StatefulWidget>
Mixin containing gesture event handlers for GridAndCanvas
GridControlHelpersMixin<T extends StatefulWidget>
Mixin containing helper calculation functions for GridAndCanvas
GridControlHoverEventsMixin<T extends StatefulWidget>
Mixin containing hover event handlers for GridAndCanvas
GridControlKeyboardEventsMixin<T extends StatefulWidget>
Mixin containing keyboard event handlers for GridAndCanvas
GridControlMouseEventsMixin<T extends StatefulWidget>
Mixin containing mouse/pointer event handlers for GridAndCanvas
GridControlPaintersMixin<T extends StatefulWidget>
Mixin containing the CustomPaint widget builders for GridAndCanvas
GridControlPositionGeneratorsMixin<T extends StatefulWidget>
Mixin containing position generation functions for GridAndCanvas

Functions

buildColorModeButton({required BuildContext context, required ActionState actionState}) → Widget
buildFabIcon({required IconData icon, required String tooltip, required bool value, required Color color, required ValueChanged<bool> onChanged}) → Widget
buildFreeToggleSwitch({required String label, required bool value, required void onChanged(bool)}) → Widget
buildToggleSwitch({required String label, required bool value, required void onChanged(bool)}) → Widget