FLUTTER ECOSYSTEM

snj07/flutter_show_more_text_popup

팝업에 텍스트를 표시하는 플러터 플러그인: https://pub.dev/packages/show_more_text_popup

flutter_show_more_text_popup 프로젝트 이미지
Stars
42
Forks
13
최근 푸시(UTC)
2021. 6. 1.
프로젝트 상태
활성
Sanjay Sharma GitHub avatar
GITHUB User

Sanjay Sharma ↗

Software Developer

Bangalore, India공식 웹사이트 ↗
언어DartKotlinHTMLRubySwiftObjective-C

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 2 개
  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

README 펼치기 / 접기

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

https://raw.githubusercontent.com/snj07/flutter_show_more_text_popup/master/screenshots/show_more_text_popup_demo.gif