icon_to_text_extension_codespark 1.0.0
icon_to_text_extension_codespark: ^1.0.0 copied to clipboard
Flutter extension to convert any IconData to inline Text or TextSpan. Material, Cupertino, and custom icon font support with rich text builder and full accessibility.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add icon_to_text_extension_codesparkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
icon_to_text_extension_codespark: ^1.0.0Alternatively, 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:icon_to_text_extension_codespark/icon_to_text_extension_codespark.dart';