prevent_orphan_text 0.0.1 copy "prevent_orphan_text: ^0.0.1" to clipboard
prevent_orphan_text: ^0.0.1 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.

Features #

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

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,
                  ),