v0.3.0show_more_text_popup
一個 Flutter 插件,用於以彈出視窗形式顯示額外文字,並提供參數來設定大小及其他行為
59喜歡 280近 30 天下載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,
);