Skip to content

Add creative text decorations such as wavy underlines, colorful boxes, speech bubbles and more to your Flutter app. With flutter_tex_dec you can bring your apps text to life and make it stand out. Perfect for highlighting details or emphasizing the personality of your app. The package is easy to use, extendible and developer friendly.

License

Notifications You must be signed in to change notification settings

EXXETA/flutter_text_decorator

Repository files navigation

Flutter Text Decorator Logo Flutter Text Decorator Logo

License: MIT style: very good analysis

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 🚀

  1. Add flutter_text_decorator to your pubspec.yaml

    dependencies:
      flutter_text_decorator:
  2. Run the following terminal command to install the package:

    flutter pub get
  3. Import the package into your Dart file

    import 'package:flutter_text_decorator/flutter_text_decorator.dart';
  4. 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

Box Decorator Example

Circle Decorator

Circle Decorator Example

Underline Decorator

Underline Decorator Example

Highlight Decorator

Highlight Decorator Example

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.

About

Add creative text decorations such as wavy underlines, colorful boxes, speech bubbles and more to your Flutter app. With flutter_tex_dec you can bring your apps text to life and make it stand out. Perfect for highlighting details or emphasizing the personality of your app. The package is easy to use, extendible and developer friendly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •