Search packages, repositories and app categories

show_more_text_popup cover
Package detailsv0.3.0

show_more_text_popup

A Flutter plugin to show the extra text as a popup with parameters to configure the size and other behavior

AndroidiOSWebmacOSWindowsLinux
30-day downloads
198
Likes
59
Pub points
140

Install package

flutter pub add show_more_text_popup

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The show_more_text_popup package enhances text display in Flutter by allowing long text to be truncated and revealed in a customizable popup. It provides intuitive controls for configuring popup size, appearance, and behavior, making it ideal for interfaces where space is limited but content clarity is essential. The popup appears on tap, offering users a seamless way to view extended text without disrupting the layout. Compatible across all major platforms, it integrates smoothly with existing Flutter apps.

Use cases

  • Displaying lengthy text in compact UIs
  • Enhancing readability in chat or comment sections
  • Improving user experience in forms with optional details
  • Creating interactive tooltips for additional information

Key features

  • Customizable popup size and position
  • Configurable trigger (tap, long press)
  • Support for multiple platforms
  • Smooth animation on popup reveal
  • Easy integration with existing text widgets
  • Flexible styling options for popup and text

Suitable for

  • Developers building content-heavy apps
  • UI designers focusing on responsive text handling
  • Apps requiring concise yet informative text displays
  • Projects aiming for polished, interactive user experiences

Considerations

  • May require careful positioning on small screens
  • Popup behavior should be tested across different devices
  • Performance impact on very large text blocks
  • Accessibility considerations for screen readers
  • Potential overlap with other UI elements if not positioned properly

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

flutter_show_more_text_popup

Flutter widget to show text in popup or overlay container

Installation

Add this to your package's pubspec.yaml file

dependencies:
  ...
  show_more_text_popup: ^latest-version

Usage

First import show_more_text_popup.dart

import 'package:show_more_text_popup/show_more_text_popup.dart';
ShowMoreTextPopup popup = ShowMoreTextPopup(context,
        text: text,
        textStyle: TextStyle(color: Colors.black),
        height: 200,
        width: 100,
        backgroundColor: Color(0xFF16CCCC),
        padding: EdgeInsets.all(4.0),
        borderRadius: BorderRadius.circular(10.0)
);

popup.show(
  widgetKey: key,
);

Screenshots

Categories

Source repository

Projects using this package

No data available yet.