パッケージ、リポジトリ、アプリカテゴリを検索

redacted のカバー
パッケージ詳細v1.0.13

redacted

独自のウィジェットからロードウィジェットを自動生成するパッケージ。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
3360
いいね数
563
Pub ポイント
140

パッケージをインストール

flutter pub add redacted

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ユーザーが定義したカスタムウィジェットに基づいて、ローディングウィジェットを自動生成するFlutterパッケージです。任意の提供されたウィジェットを動的なローディング状態に変換することで、一貫性があり再利用可能なローディングインジケータを作成するプロセスを簡素化します。最小限のボイラープレートでUI開発を効率化したい開発者にとって理想的です。このパッケージはAndroid、iOS、Web、macOS、Windows、Linuxなどすべての主要プラットフォームをサポートしており、クロスプラットフォーム互換性を確保しています。複数の画面で頻繁にローディング状態が必要なアプリケーションにおいて特に有用です。

用途

  • 再利用可能な読み込みインジケーターの作成
  • ロード状態の生成を自動化する
  • 画面間のUIの一貫性の向上
  • 繰り返しのロードウィジェットコードを簡素化する
  • クロスプラットフォームロードコンポーネント

主な機能

  • カスタムデザインからロードウィジェットを自動生成します
  • すべての Flutter プラットフォームをサポートしています
  • 最小限のセットアップが必要
  • 複数のウィジェットで再利用可能
  • 既存のUIとスムーズに統合されます

適している対象

  • UI開発者
  • Flutter ビギナー
  • 頻繁な読み込み状態を持つアプリ
  • クロスプラットフォームプロジェクト
  • デザインの一貫性を重視するチーム

注意事項

  • 読み込み状態を生成するには基本ウィジェットが必要です
  • 入力ウィジェットを超えるカスタマイズは限定的
  • バンドルサイズがわずかに増える可能性があります
  • 適切なウィジェット構造に依存する
  • 追加の構成なしでは、複雑なアニメーションには適していません

元の 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 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。