smart_text_widget 0.0.3 smart_text_widget: ^0.0.3 copied to clipboard
A custom Flutter text widget that handles null values, empty strings, lists, maps, and numeric values. Supports truncation, scrolling, and error handling.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_text_widget
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
smart_text_widget: ^0.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smart_text_widget/smart_text_widget.dart';