Flutter widget to show text in popup or overlay container
Add this to your package’s pubspec.yaml file
dependencies:
...
show_more_text_popup: ^latest-version
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));
popup.show(
widgetKey: key,
);
Author: snj07
GitHub: https://github.com/snj07/flutter_show_more_text_popup
#flutter #dart #mobile-apps