textkit 1.0.0
textkit: ^1.0.0 copied to clipboard
A Flutter package providing easy-to-use text widgets with beautiful visual effects including gradients, shadows, and outlines. Create stunning text with GradientText, ShadowText, and StrokeText widget [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add textkitThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
textkit: ^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:textkit/core/effect.dart';
import 'package:textkit/core/text_builder.dart';
import 'package:textkit/effects/gradient.dart';
import 'package:textkit/effects/outline.dart';
import 'package:textkit/effects/shadow.dart';
import 'package:textkit/text_kit.dart';