Package-level declarations
Types
Represents the overall state of the Reversi application.
Interface defining the contract for application state implementations. Provides read-only access to game session data, page navigation state, audio/theme settings, and game services.
Holds audio and theme configuration for the application.
Represents the current game session with game state and player identity.
Holds the current page navigation state and any global errors.
Receiver scope class providing composition helper functions and access to app state. Used as a receiver for composable lambdas to provide themed UI components.
Functions
Modal popup for confirming user actions.
Retrieves the current application state.
Retrieves the AudioPool from the current AppState.
Retrieves the current application theme.
Themed button component using the application's primary color. Supports custom shapes, borders, and disabled state styling.
Themed checkbox component following the application's design system.
Themed dropdown menu with application color scheme. Provides a container for dropdown menu items with consistent styling.
Themed dropdown menu item for use within ReversiDropDownMenu. Provides consistent styling for menu options.
Themed text composable following the application's color scheme. Supports auto-sizing and various text styling options.
Themed text input field following the application's design system. Supports placeholder, label, and single/multi-line modes.
Sets the game state.
Updates the loading state for any UiState implementation.
Updates the current page in the application state. The backPage is auto-calculated if not provided. If there is a global error != null or INFO, the page will not be changed. IF the global error is of type INFO, it will be cleared.
Sets the player name in the game session.
Sets the application theme in the audio theme state.