text_helpers

Creator: coderz1093

Last updated:

0 purchases

text_helpers Image
text_helpers Images

Languages

Categories

Add to Cart

Description:

text helpers

Text overflow helpers for Flutter.
Features #
InlineText / InlineRow #

InlineText + InlineRow #

Getting started #
pubspec.yaml #
dependencies:
text_helpers: <lastest version>
copied to clipboard
import #
import 'package:text_helpers/text_helpers.dart';
copied to clipboard
Usage #
InlineRow #
This widget can be used to resize just one of children when the row overflows;
In this example, the first content will be reduced when the text overflows:
InlineRow(
wrapIndex: 0,
children: [
Text('First content', overflow: TextOverflow.ellipsis),
Text('Second content'),
Text('Third content'),
],
),
copied to clipboard
In this example, the second content will be reduced when is overflowed:
InlineRow(
wrapIndex: 1,
children: [
Text('First content'),
Text('Second content', overflow: TextOverflow.ellipsis),
Text('Third content'),
],
),
copied to clipboard
InlineText #
This widget can be used to hide letter by letter when the text overflows; This isn't the best solution, but solve the flutter#18761
Look this simple example:
InlineText('Lorem Ipsum is simply dummy text')
copied to clipboard

GIF

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.