fancy_text_reveal 1.0.0 fancy_text_reveal: ^1.0.0 copied to clipboard
Have you ever wondered if there is any fancy way to reveal your text widgets? Introducing fancy_text_reveal.
import 'package:fancy_text_reveal/fancy_text_reveal.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
home: FancyTextRevealExample(),
);
}
}
class FancyTextRevealExample extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.black,
body: Center(
child: FancyTextReveal(
child: Text(
"Hi there I'm using fancy_text_reveal",
style: TextStyle(
color: Colors.white,
),
),
),
),
);
}
}