Tinyrack

Number Field

Edit a nullable locale-formatted number with stepper, keyboard, and scrub controls.

Edit a nullable locale-formatted number with stepper, keyboard, and scrub controls.

Contract

Semantic values match the web system while widget behavior follows Flutter and Material 3.

Install

Add the package, then import its public library.

flutter pub add tinyrack_ui
import 'package:tinyrack_ui/tinyrack_ui.dart';

Playground

Usage

import 'package:material_ui/material_ui.dart';
import 'package:tinyrack_ui/tinyrack_ui.dart';

const TRNumberField(
  defaultValue: 4,
  min: 0,
  max: 20,
)

API

NumberField preserves native Flutter state and callbacks while applying Tinyrack token defaults.