v0.3.0show_more_text_popup
追加のテキストをポップアップとして表示するためのFlutterプラグインで、サイズその他の動作を設定するパラメータを提供します
59いいね 28030日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
ポップアップにテキストを表示するためのFlutterプラグイン:https://pub.dev/packages/show_more_text_popup
{"sdk":"flutter"}{"sdk":"flutter"}以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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),
padding: EdgeInsets.all(4.0),
borderRadius: BorderRadius.circular(10.0)
);
popup.show(
widgetKey: key,
);