flutter_text_decorator 0.0.1
flutter_text_decorator: ^0.0.1 copied to clipboard
A highly customizable text decoration widget for Flutter.
Bring your words to life leveraging flutter_text_decorator with wavy underlines, colorful boxes, speech bubbles and more. Whether you want to highlight important details, add a playful touch or simply stand out. The package makes it easy to add personality and flair to your text.
Developed with π― Passion by exxeta
Features #
- β Boxes
- β Underline
- β Wavy Box
- β Speech Bubble
Feel free to check out the Example App and play around.
Quick Start π #
-
Add
flutter_text_decorator
to yourpubspec.yaml
dependencies: flutter_text_decorator:
-
Run the following terminal command to install the package:
flutter pub get
-
Import the package into your Dart file
import 'package:flutter_text_decorator/flutter_text_decorator.dart';
-
Use TextDecorator
Here is a simple example of how you can use
TextDecorator.boxed
:import 'package:flutter/material.dart'; import 'package:flutter_text_decorator/flutter_text_decorator.dart'; class MyDecoratedWidget extends StatelessWidget { const MyDecoratedWidget({super.key}); @override Widget build(BuildContext context) { return Center( child: TextDecorator.boxed( style: BoxStyle.rounded, text: const Text( 'Hello Decorated World!', style: TextStyle(fontSize: 24, color: Colors.white), ), color: Colors.blueAccent, strokeWidth: 2, ), ); } }
Styles Preview #
Box Decorator![]() |
Circle Decorator![]() |
Underline Decorator![]() |
Highlight Decorator![]() |
Planned features π― #
We're always thinking of new ways to make text decoration even more fun and versatile! Our next big idea is to introduce a Comic effect to bring a playful, graphic-novel style to your Flutter apps. Stay tuned for this and other enhancements.
Contributing #
We love new ideas and contributions from the community! If you have a suggestion, a bug report, or want to contribute code, please check out our CONTRIBUTING guide to get started. Your input helps make flutter_text_decorator
even better!
Authors #
Authors:
License #
This project is licensed under the MIT License - see the LICENSE file for details.