Glitch Text
A Flutter package for creating Text widget with glitch effects
Features
- Customizable glitch width (offset)
- Custimizable Text Properties
Getting Started
1. Depend on it
Add this to your package's pubspec.yaml
file:
dependencies:
glitch_text: ^0.1.1
2. Install it
You can install packages from the command line:
with pub
:
$ pub get
with Flutter
:
$ flutter pub get
3. Import it
Now in your Dart
code, you can use:
import 'package:glitch_text/glitch_text.dart';
Usage
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,
),