tomeui_clickwheel 0.3.5 copy "tomeui_clickwheel: ^0.3.5" to clipboard
tomeui_clickwheel: ^0.3.5 copied to clipboard

Click-wheel input and focus navigation for TomeUI, with media controls, configurable press and hold gestures, and wheel-driven lists and grids.

TomeUI Clickwheel #

Click-wheel input and navigation for TomeUI. Turn wheel movement and button presses into focus navigation, media commands, volume changes, and configurable tap and hold gestures.

Installation #

flutter pub add tomeui tomeui_clickwheel

Usage #

Wrap the app's content in ClickWheelInput. Use WheelList for lists whose selection should follow the wheel:

import 'package:tomeui/tomeui.dart';
import 'package:tomeui_clickwheel/tomeui_clickwheel.dart';

void main() {
  runApp(TomeApp(
    home: ClickWheelInput(
      child: Scaffold(
        body: WheelList(
          autofocus: true,
          itemExtent: 48,
          onActivate: (index) => debugPrint('Selected row $index'),
          children: const [Text('Albums'), Text('Artists'), Text('Settings')],
        ),
      ),
    ),
  ));
}
  • WheelList.builder builds long lists lazily.
  • WheelGrid and WheelRail provide grid and rail selection.
  • InputCapture temporarily handles selected wheel commands.
  • ClickWheelController drives input from an emulator or other controls.
  • WheelFeel and DarkInput configure navigation and behavior while asleep.

License #

MIT, copyright © 2026 Chris Hendrickson.

0
likes
150
points
505
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Click-wheel input and focus navigation for TomeUI, with media controls, configurable press and hold gestures, and wheel-driven lists and grids.

Repository (GitHub)
View/report issues

Topics

#widget #input #navigation

License

MIT (license)

Dependencies

flutter, tomeui

More

Packages that depend on tomeui_clickwheel