one_hand_progress_controller 0.0.2 copy "one_hand_progress_controller: ^0.0.2" to clipboard
one_hand_progress_controller: ^0.0.2 copied to clipboard

Progress controller design for one handed usage

Flutter one hand progress controller #

Progress controller widget that represent in quarter circle design for one handed usage. Support both hand.
Currently is more in a demo version to show how it looks like, not very customizable, will update soon.
Open an issue if you have any feature request.

Features #

Allow user to control the progress of a video, music, etc with only their thumb. Below is an working example.

the button and the onTap event is customizable, it can work with any video player as long as it support seeking, pause, play, or any other feature you need, and technically it could work with things other than video as long as it is something that able to control the progress value by the user.

Usage #

Put the widget into a Stack widget, example:

Stack(
  children: [
    OneHandProgressController(
      size: 250,
      width: 50,
      progress: progress,
      onProgessChange: ((p) {
        setState(() {
          progress = p;
        });
      }),
      actionButtons: [
        ActionButton(
            radius: 150,
            onTap: () {},
            icon: const Icon(
              Icons.play_arrow,
              color: Colors.white,
              size: 30,
            ))
      ],
    ),
  ],
)

full example can be found in example folder

7
likes
140
pub points
0%
popularity

Publisher

unverified uploader

Progress controller design for one handed usage

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on one_hand_progress_controller