Text
Apply named Tinyrack typography roles to Flutter text.
Apply named Tinyrack typography roles without rebuilding TextStyle values.
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_uiimport 'package:tinyrack_ui/tinyrack_ui.dart';Playground
Usage
import 'package:material_ui/material_ui.dart';
import 'package:tinyrack_ui/tinyrack_ui.dart';
const TRText(
'Rack status',
variant: TRTextVariant.headingMd,
color: TRTextColor.defaultColor,
)API
Text preserves native Flutter state and callbacks while applying Tinyrack token defaults.