패키지, 저장소 및 앱 카테고리 검색

패키지 상세v2.0.0

flutter_lorem

임의의 문장과 단락을 생성합니다 ("로렘 이프수姆" 생성기와 유사).

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
2.2만
좋아요
82
Pub 점수
160

패키지 설치

flutter pub add flutter_lorem

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter Lorem은 전통적인 'lorem ipsum' 콘텐츠 스타일을 모방하는 랜덤한 자리 표시 텍스트(예: 문장 및 단락)를 생성합니다. 실제 텍스트가 아직 준비되지 않은 UI 프로토타이핑에 이상적입니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원하여 크로스플랫폼 개발에 유연하게 활용할 수 있습니다. 간단한 API를 통해 디자인 또는 테스트 단계에서 앱에 현실감 있는 가짜 내용을 빠르게 삽입할 수 있습니다.

사용 사례

  • UI 프로토타이핑
  • 플레이스홀더 텍스트 생성
  • 디자인 모크업
  • 레이아웃 반응성 테스트
  • 초기 단계 앱을 위한 콘텐츠 자리표시자

주요 기능

  • 크로스 플랫폼 지원
  • 간단한 API
  • 임의 문장 및 단락 생성
  • Lightweight
  • pub add를 통한 간편한 통합

적합한 대상

  • 앱 디자이너
  • 프론트엔드 개발자
  • 프로토타이핑 팀
  • UI/UX 테스터

고려 사항

  • 생산 콘텐츠에 적합하지 않습니다
  • 텍스트는 무작위이며 의미가 없습니다
  • 제한된 사용자 정의 옵션
  • 언어별 특수 변형 없음
  • 외부 소스 코드에 의존

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

flutter_lorem

A Flutter package for generating random sentences and paragraphs. The output looks similar to the famous "lorum ipsum" placeholder text. Useful when designing user interfaces that require example text:

Neo preclarus, mensa sono. Te laetabilis. Furor supremus mille procella sicut dolor construo illae addo vixi. Ferre uti indagatio post.

Imitabilis singulus receptum facillimus quae, formo vel aliquis epulor ago. Aliud comprehendo, humus quam expositus ops. Revoco donec, feteo fere.

Usage

Import the package:

import 'package:flutter_lorem/flutter_lorem.dart';

Call the lorum function, specifying the number of paragraphs and words to generate.

String text = lorem(paragraphs: 2, words: 60);
print(text);

The above might print:

Qua procella, illo eternus semel cui propello. Arma iniquus tribuo legentis victum tergo victor repeto, multus. Qui volup amita porro perseverantia. Positus lacunar qui praecepio St. Incertus surgo vires nolo.

Cogo, modicus Malbodiensis defigo, maxime nutus. Spectaculum optimus defluo. Locupleto memor tamisium fodio priores, reddo praecox antea, suum. Sitis orbis duro, cedo moris prolusio nimis consui iuvo, imago. Placo novus.

How it works

Sentences are formed from a list of approximately 4000 latin words. Up to two commas are inserted per sentence. Shorter words are favoured 50% of the time, which produces a more natural looking sentence.

Words are selected randomly. The sentences are not valid latin!

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트