scstw_lib 0.0.1 copy "scstw_lib: ^0.0.1" to clipboard
scstw_lib: ^0.0.1 copied to clipboard

A library enabling the communication with the itsblue.de climbing stopwatch

SCSTW Library #

This package provides functionality for managing race states, lane states, and UI interactions in a training or competition environment. It is designed to handle complex race scenarios, including lane-specific actions, race state changes, and UI updates.

Features #

  • Race State Management: Handle race states such as FINISHED, RUNNING, DISABLED, and more.
  • Lane State Management: Manage lane-specific actions like enabling/disabling lanes, handling falls, and computing available actions.
  • UI Updates: Dynamically update UI elements such as lane text, colors, and subtext based on race and lane states.
  • Command Execution: Send commands to control race and lane states, including enabling/disabling lanes and handling race finishes.
  • Autostart Progress Handling: Manage autostart progress based on race settings.

Getting Started #

Prerequisites #

  • Dart SDK
  • Flutter framework (if used in a Flutter project)

Installation #

Run the following command to add the scstw_lib package to your project:

flutter pub add scstw_lib

Usage #

_uiStateController = UIStateController(_connection);

_uiStateSubscription = _uiStateController.uiStateStream.listen((event) {
  setState(() {
    _uiState = event;
  });
});
0
likes
130
points
14
downloads

Documentation

API reference

Publisher

verified publisheritsblue.de

Weekly Downloads

A library enabling the communication with the itsblue.de climbing stopwatch

Homepage
Repository (GitHub)
View/report issues

License

AGPL-3.0 (license)

Dependencies

flutter, flutter_blue_plus, logger, protobuf

More

Packages that depend on scstw_lib