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

redacted 표지
패키지 상세v1.0.13

redacted

자신의 위젯에서 로딩 위젯을 자동으로 생성하는 패키지입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
3.4천
좋아요
563
Pub 점수
140

패키지 설치

flutter pub add redacted

패키지 개요

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

사용자가 정의한 사용자 지정 위젯을 기반으로 로딩 위젯을 자동으로 생성하는 플러터 패키지입니다. 제공된 위젯을 동적 로딩 상태로 변환함으로써 일관되고 재사용 가능한 로딩 표시기를 만드는 과정을 간소화합니다. 최소한의 보일러플레이트로 UI 개발을 간편하게 하고 싶은 개발자에게 이상적입니다. 이 패키지는 Android, iOS, 웹, macOS, Windows, Linux 등 모든 주요 플랫폼을 지원하여 크로스 플랫폼 호환성을 보장합니다. 여러 화면에서 자주 로딩 상태가 필요한 애플리케이션에 특히 유용합니다.

사용 사례

  • 재사용 가능한 로딩 인디케이터 만들기
  • 로딩 상태 생성 자동화
  • 화면 간 UI 일관성 향상
  • 반복적인 로딩 위젯 코드 간소화
  • 크로스 플랫폼 로딩 컴포넌트

주요 기능

  • 사용자 정의 디자인에서 로딩 위젯을 자동으로 생성합니다
  • 모든 플러터 플랫폼을 지원합니다
  • 최소한의 설정 필요
  • 여러 위젯 간에 재사용 가능
  • 기존 UI와 원활하게 통합됩니다

적합한 대상

  • UI 개발자
  • 플러터 초보자
  • 자주 로딩 상태가 있는 앱
  • 크로스 플랫폼 프로젝트
  • 디자인 일관성을 우선시하는 팀

고려 사항

  • 로딩 상태를 생성하려면 기본 위젯이 필요합니다
  • 입력 위젯을 넘어서는 사용자 정의 제한
  • 패키지 크기가 약간 증가할 수 있습니다
  • 올바른 위젯 구조에 따라 달라짐
  • 추가 구성 없이 복잡한 애니메이션에 적합하지 않습니다

원본 README

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

A package that automatically generate a loading widget from your own widget.

Usage

First, add redacted as a dependency in your pubspec.yaml file.

dependencies:
  redacted: [Latest-Version]

Don't forget to flutter pub get.

Example

ShoeWidget()
    .redacted(context: context, redact: true)

Styling

You can change the color and the duration of the animation by using RedactedConfiguration:

ShoeWidget().redacted(
  context: context,
  redact: true,
  configuration: RedactedConfiguration(
    animationDuration : const Duration(milliseconds: 800), //default
  ),
)
Unredacted

If you have some widget that you want to keep the same for example you have a title and a value and want to keep the title but redact the value then you can do the following:

SomeWidget()
  .unredacted
Hide

If you want to hide some widget instead of redacting it then you can do the following:

SomeWidget()
  .hide

Current Limitations

The widgets that are currently supported in this pacakge are: Text , Column , Row , Stack , Container , Align , Positioned , Wrap , Image , Center , SizedBox , Padding , Expanded , AspectRatio , InkWell and StatelessWidget.

More widgets will be added in the future.

💖 Support My Work

If you find this package helpful, consider supporting its development:

Buy Me a Coffee

Your support helps me maintain and improve this package. Thank you! ❤️

카테고리

의존성

의존성 목록 2 개

소스 저장소

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

아직 데이터가 없습니다.