prevent_orphan_text 0.0.3 copy "prevent_orphan_text: ^0.0.3" to clipboard
prevent_orphan_text: ^0.0.3 copied to clipboard

A text widget that prevents orphans.

A Flutter package for Dutch Coding Company projects. This package create a Text widget that prevents text orphans in the end of a text widget. It is inspired by the balanced_text package.

Features #

  • Wraps every function of a Text widget and prevents text orphans in the end of a text widget.

Live Example #

You can test the package by visiting the live Flutter Web example on our playground page

Getting started #

flutter pub add prevent_orphan_text to install the package in your project. Thats all!

Usage #

You can use a prevent orphan text widget by simply replacing your Text widget by and PreventOrphanText widget

PreventOrphanText(
                    text,
                  ),
2
likes
140
points
35
downloads

Publisher

verified publisherbasdevaan.nl

Weekly Downloads

A text widget that prevents orphans.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on prevent_orphan_text