input_number 1.0.2
input_number: ^1.0.2 copied to clipboard
A modern, customizable numeric input and stepper widget for Flutter with precision math, formatting, keyboard, mouse wheel, and FormField support.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.2 #
- Replaced unnecessary
package:flutter/material.dartimports withpackage:flutter/widgets.dartinInputNumberFormFieldandStepperButton. - Resolved Flutter 3.47+ static analysis deprecation lints (
deprecated_member_use) onpackage:flutter/material.dartwhile maintaining backwards compatibility with Flutter>=3.24.0.
1.0.1 #
- Added
InputNumberFormat.european()andInputNumberFormat.unit()presets for global number and measurement unit formatting. - Improved active text editing focus synchronization so in-progress decimal points are preserved during parent widget rebuilds.
- Improved controlled
valueupdates when transitioning tonull. - Added package funding metadata and updated documentation badges.
1.0.0 #
- Initial stable release of
input_number. - Added
InputNumberwidget with multiple button layouts (split,stackedEnd,inlineEnd,none). - Added
InputNumberFormFieldfor seamlessFormvalidation, saving, and error display. - Added
InputNumberControllerwith floating-point precision-safe arithmetic (increment,decrement,setValue,reset,clear). - Added
InputNumberFormatwith thousand grouping, custom decimal separator, prefix, suffix, and currency/percentage presets. - Added
NumericTextInputFormatterfor real-time numeric input sanitization and cursor preservation. - Added
InputNumberStyle,InputNumberVariant(outlined,filled,underlined,pill), andInputNumberSize(small,medium,large) with full Material 3 dark and light theme adaptation. - Added long-press auto-repeat with optional turbo acceleration, keyboard arrow/page navigation, mouse wheel stepping, and haptic feedback.