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

패키지 상세v0.0.11

faded_text

다중 줄 텍스트에 왼쪽에서 오른쪽으로 페이드 효과를 통합합니다. 더 복잡한 레이아웃에서 단일 줄 텍스트의 우아함을 원할 때 이상적입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
53
좋아요
31
Pub 점수
160

패키지 설치

flutter pub add faded_text

패키지 개요

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

FadedText는 다중 줄 텍스트에 부드러운 왼쪽에서 오른쪽으로 페이드 효과를 적용하는 Flutter 패키지입니다. 복잡한 레이아웃 내에서도 세련된 단일 줄 미학을 만들어냅니다. 시각적 매력을 높이기 위해 텍스트 가장자리를 미묘하게 페이드하여, 현대적인 UI에서 가독성과 우아함이 공존하는 경우에 이상적입니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원하며 기존 텍스트 위젯과 원활하게 통합됩니다. 사용자 정의 애니메이션 로직 없이 정교한 텍스트 표현을 원하는 개발자를 위한 것으로, 우아한 타이포그래피 효과 구현을 간소화합니다.

사용 사례

  • 페이드 효과를 갖춘 우아한 다중 줄 텍스트 만들기
  • 밀집 레이아웃에서 UI 가독성 향상
  • 텍스트 요소에 미세한 애니메이션 추가
  • 대시보드의 시각적 계층 개선
  • 클린 타이포그래피로 현대적인 앱 인터페이스 디자인하기
  • 스크롤 가능한 텍스트 컨테이너에서 페이드 전환 구현

주요 기능

  • 다중 줄 텍스트의 왼쪽에서 오른쪽으로 페이드 효과
  • 크로스 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
  • 기존 Text 위젯과의 간편한 통합
  • 사용자 정의 가능한 페이드 지속 시간 및 강도
  • 경량이고 성능이 뛰어남
  • 외부 종속성 없음

적합한 대상

  • 정교한 텍스트 효과를 원하는 UI 디자이너
  • 현대적인 Flutter 앱을 개발하는 개발자
  • 시각적 일관성에 집중하는 팀
  • 섬세한 애니메이션 텍스트가 필요한 프로젝트
  • 복잡한 텍스트 중심 레이아웃을 가진 앱

고려 사항

  • 최적의 페이드 표시를 위해 조정이 필요할 수 있습니다
  • 일관된 줄 높이를 가진 텍스트에 가장 적합
  • 매우 동적 또는 빠르게 변화하는 콘텐츠에는 적합하지 않습니다
  • 성능에 미치는 영향은 무시할 수 있지만 오래된 기기에서 테스트해야 합니다
  • 페이드 방향과 속도 외에 맞춤 설정이 제한적입니다

원본 README

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

Faded Text

Made by Surf 🏄‍♂️🏄‍♂️🏄‍♂️

Build Status Coverage Status Pub Version Pub Likes Pub popularity License: Apache 2.0

Shows an illustrated sun in light mode and a moon with stars in dark mode.



Enhance your Flutter app with this package, designed to seamlessly integrate left-to-right fade effects for multi-line text. Perfect for when you need that single-line text elegance in more complex layouts. Made by Surf :surfer: Flutter team :cow2:

Overview

  • :1234: Enabled on every platform - the package is fully written on Flutter side and enabled on every platform
  • :recycle: Fully covered by tests - guaranteeing the result and expectations from this package
  • :notebook_with_decorative_cover: End-to-end documentation - every aspect of implementation is documented, so there is full understanding
  • :cow2: Support from the best Flutter experts - we are open to any enhancement ideas and contributions

Usage

Installation

Add faded_text to your pubspec.yaml file:

dependencies:
  faded_text: 0.0.6
Example

You need to create an instance of the FadedText class like a regular Text.

Regular `Text` with fade effect `FadedText`
Text(
  'Lorem ipsum dolor sit amet, 
  consectetur adipisci and blah blah...',
  maxLines: 5,
  overflow: TextOverflow.fade,
)
FadedText(
  'Lorem ipsum dolor sit amet, 
  consectetur adipisci and blah blah...',
  maxLines: 5,
)

Output:

Fade effect of intrinsic `Text` Fade effect of `FadedText`

You can also create FadedText.rich like regular Text.rich.

Regular `Tex.rich` with fade effect `FadedText.rich`
Text.rich(
  TextSpan(
    children: [
      TextSpan(
        text:
          'Lorem ipsum dolor sit amet, 
          consectetur adipisci 
          and blah blah...',
        ),
      TextSpan(
        text:
          'Ut enim ad minim veniam, 
          quis nostrud and so on...',
        style: TextStyle(
          fontWeight: FontWeight.bold,
          ),
        ),
      ],
    ),
    maxLines: 4,
    overflow: TextOverflow.fade,
  ),
FadedText.rich(
  TextSpan(
    children: [
      TextSpan(
        text:
          'Lorem ipsum dolor sit amet,   
          consectetur adipisci and blah blah...'),
      TextSpan(
        text:
          'Ut enim ad minim veniam, 
          quis nostrud and so on...',
        style: TextStyle(
          fontWeight: FontWeight.bold,
        ),
      ),
    ],
  ),
  maxLines: 4,
)

Output:

Fade effect of intrinsic Text.rich Fade effect of FadedText.rich

Changelog

All notable changes to this project will be documented here.

Issues

To report your issues, file directly in the Issues section.

Contribute

If you would like to contribute to the package (e.g. by improving the documentation, fixing a bug or adding a cool new feature), please read our contribution guide first and send us your pull request.

Your PRs are always welcome.

How to reach us

Please feel free to ask any questions about this package. Join our community chat on Telegram. We speak English and Russian.

Telegram

License

Apache License, Version 2.0

카테고리

소스 저장소

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

아직 데이터가 없습니다.