Skip to content

Flutter library to select an integer by buttons or textfield

License

Notifications You must be signed in to change notification settings

guidotheelen/number_selector

Repository files navigation

NumberSelector Build Status Coverage Status

Customizable widget designed for choosing an integer number.

Features

  • Increment and decrement buttons
  • Skip to first and last number buttons
  • Cancel by pressing ESC
  • Update by pressing Enter or loosing focus
  • Negative and positive integers
  • Tooltips for buttons

Number selector with minimum and maximum value

Number selector with min and max

Simple number selector

Simple number selector

Plain number selector

Plain number selector

Usage

  NumberSelector(
    current: 47,
    min: 1,
    max: 50,
    onUpdate: (number) {
      // Your magic here
    },
  );

  NumberSelector.plain(
    current: 47,
    min: 1,
    max: 50,
    onUpdate: (number) {
      // More magic here
    },
  );

About

Flutter library to select an integer by buttons or textfield

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published