span_builder 0.0.1 span_builder: ^0.0.1 copied to clipboard
Facilitates creation of spans from plain text and provides automated disposal of GestureRecognizers
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add span_builder
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
span_builder: ^0.0.1
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:span_builder/span_builder.dart';