ellipsized_text 2.0.0 copy "ellipsized_text: ^2.0.0" to clipboard
ellipsized_text: ^2.0.0 copied to clipboard

✏️ One line ellipsized text with the ability to adjust the position of the ellipsis.

Ellipsized Text #

✏️ The package provides a one line ellipsized text with the ability to adjust the position of the ellipsis.
A very handy widget for shortening public addresses of crypto wallets or other information abbreviations.

Pub Likes Pub Version License: MIT

Buy Me A Coffee

Usage #

The widget is easy to use: Start position:

EllipsizedText(
    "Ellipsized Text Ellipsized Text Ellipsized Text Ellipsized Text",
    type: EllipsisType.start,
    style: TextStyle(fontSize: 24),
),

Middle position:

EllipsizedText(
    "Ellipsized Text Ellipsized Text Ellipsized Text Ellipsized Text",
    type: EllipsisType.middle,
    style: TextStyle(fontSize: 24),
),

End position:

EllipsizedText(
    "Ellipsized Text Ellipsized Text Ellipsized Text Ellipsized Text",
    type: EllipsisType.end,
    style: TextStyle(fontSize: 24),
),

Additional Information #

For more details see example project.
And feel free to open an issue if you find any bugs or errors or suggestions.

12
likes
160
points
4.06k
downloads

Publisher

unverified uploader

Weekly Downloads

✏️ One line ellipsized text with the ability to adjust the position of the ellipsis.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, flutter

More

Packages that depend on ellipsized_text