v0.3.0show_more_text_popup
추가 텍스트를 팝업으로 표시하는 Flutter 플러그인으로 크기 및 기타 동작을 구성할 수 있는 매개변수를 제공합니다
59좋아요 28030일 다운로드140Pub 점수
AndroidiOSWebmacOSWindowsLinux
팝업에 텍스트를 표시하는 플러터 플러그인: 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,
);