Flutter customize text in ellipsis

flutter_ellipsis_text

ellipsis text is a widget that allows you to customize text in ellipsis when text exceeds maxLines.

Installation

dependencies:
  flutter_icon_snackbar: ^<latest_version>

💪 Usage

EllipsisText(
    text: "Lorem Ipsum is simply dummy text of the printing and typesetting industry. "
        "Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, "
        "when an unknown printer took a galley of type and scrambled it to make a type specimen book. "
        "It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.",
    ellipsis: "..show more",
    maxLines: 2,
    style: TextStyle(), // add if you want
)

GitHub

View Github