Skip to content

Latest commit

 

History

History
119 lines (81 loc) · 2.11 KB

README.md

File metadata and controls

119 lines (81 loc) · 2.11 KB

flutter_tex_dec

License

Screenshot of Feature Grid

Bring your words to life leveraging flutter_tex_dec 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.

Features

  • Boxes
  • Underline
  • Wavy Box
  • Speech Bubble

Feel free to check out the Example App and play around.

Installation

pub.dev

Add flutter_tex_dec as dependency to pubspec.yaml:

dependencies:
  flutter_tex_dec: ^0.1.0

Usage

Box Decorator

TextDrawDecorator.boxed(
  style: BoxStyle.rounded,
  text: const Text(
    'Rounded Box',
    style: TextStyle(fontSize: 32),
  ),
  strokeWidth: 2,
),

Box Decorator Example

Circle Decorator

TextDrawDecorator.circled(
  style: CircleStyle.circled,
  text: const Text(
    'Circled Text',
    style: TextStyle(fontSize: 32),
  ),
),

Circle Decorator Example

Underline Decorator

TextDrawDecorator.underlined(
  style: UnderlineStyle.horizontal,
  text: const Text(
    'Underlined Text',
    style: TextStyle(fontSize: 24),
  ),
  color: Colors.orange,
  strokeWidth: 2,
),

Underline Decorator Example

Highlight Decorator

TextDrawDecorator.highlighted(
  style: HighlightStyle.marker,
  text: const Text(
    'Highlighted Text',
    style: TextStyle(fontSize: 32),
  ),
),

Underline Decorator Example

Roadmap

TODO's

  • Fix Wavy Box corners
  • Add test automation

Planned features

  • Comic effect

Contributing

See CONTRIBUTING

Authors and acknowledgment

Authors:

Special Thanks:

  • Noah Bauer for the creative name of this package

License

See LICENSE