A Flutter package for creating Text widget with glitch effects
- Customizable glitch width (offset)
- Custimizable Text Properties
Add this to your package's pubspec.yaml
file:
dependencies:
glitch_text: ^0.1.1
You can install packages from the command line:
with pub
:
$ pub get
with Flutter
:
$ flutter pub get
Now in your Dart
code, you can use:
import 'package:glitch_text/glitch_text.dart';
import plugin and create GlichText function
GlitchText(
data: "done",
align: TextAlign.center,
fontSize: 90,
overflow: TextOverflow.ellipsis,
font: "lato",
offset: 3,
fontColor: Colors.black,
wordSpacing: 1,
letterSpacing: 1,
),