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

tap_to_expand のカバー
パッケージ詳細v0.7.2

tap_to_expand

このパッケージは、わずかな行数で素早く簡単に展開可能なウィジェットを作成でき、必要に応じてカスタマイズできます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
100
いいね数
98
Pub ポイント
150

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

flutter pub add tap_to_expand

パッケージ概要

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

tap_to_expand パッケージは、最小限のコードで開閉可能なウィジェットを迅速かつ簡単に作成できるようにします。コンテンツの表示/非表示を切り替えるためのシンプルでカスタマイズ可能なソリューションを提供し、ユーザーインターフェース内の折りたたみ可能なセクションに最適です。Android、iOS、Web、macOS、Windows、Linux のすべての主要プラットフォームに対応しており、どこでも一貫した動作を保証します。アニメーション、期間、視覚的な外観をカスタマイズできる柔軟な設計になっています。フォームやよくある質問、必要に応じて拡張できるコンテンツに最適です。

用途

  • 折りたたみ可能なFAQセクションの作成
  • インタラクティブなフォームアコーディオンの作成
  • 必要に応じて詳細情報を表示する
  • モバイルアプリのナビゲーションの向上
  • 複雑なUIレイアウトの簡素化

主な機能

  • 少ないコード行での最小限のセットアップ
  • カスタマイズ可能なアニメーションと期間
  • すべての主要な Flutter プラットフォームをサポートしています
  • 拡張可能なスタイルオプション
  • 既存のウィジェットとの簡単な統合

適している対象

  • 初心者のFlutter開発者
  • インタラクティブな展開コンテンツを必要とするアプリ
  • UI重視のアプリケーション
  • 迅速なプロトタイピング
  • クロスプラットフォームの整合性を必要とするプロジェクト

注意事項

  • 複雑なレイアウトには追加のスタイル設定が必要になる場合があります
  • アニメーションのパフォーマンスは、低スペックデバイスでテストするべきです
  • 限定された組み込みアクセシビリティ機能
  • 非常に大きなデータセットには最適化されていません
  • ネストされた展開可能な要素に対してカスタムロジックが必要になる場合があります

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

anouncement pub package

This package provides an easy and fast way to build expandable widgets with minimal code. You can customize these widgets according to your needs.

Features

  • Easily include your content
  • Enable scrolling with the isScrollable parameter
  • Beautiful animations

Getting started

To use this plugin, add tap_to_expand as a dependency in your pubspec.yaml file.

dependencies:
  tap_to_expand: ^1.0.0

Usage

Here is How to use TapToExpand class, You can find Package Api HERE

Center(
        child: TapToExpand(
          content: Column(
            children: <Widget>[
              for (var i = 0; i < 20; i++)
                Text(
                  "data $i",
                  style: const TextStyle(color: Colors.white, fontSize: 20),
                ),
            ],
          ),
          title: const Text(
            'TapToExpand',
            style: TextStyle(
              color: Colors.white,
              fontSize: 20,
            ),
          ),
          onTapPadding: 10,
          closedHeight: 70,
          scrollable: true,
          borderRadius: 10,
          openedHeight: 200,
        ),
      ),

For more information and customization options, visit the TapToExpand GitHub repository.

TapToExpandLetter(
                // autoClose: false, default is true
                title: const Text(
                  'Tap to Expand',
                  style: TextStyle(
                      color: Colors.white,
                      fontSize: 16,
                      fontWeight: FontWeight.w600),
                ),
                content: Column(
                  children: const [
                    Text(
                      'Feel free to use the code in your projects but do not forget to give me the credits adding  (Flutter Animation Gallery) where you are gonna use it.',
                      style: TextStyle(
                        color: Colors.white,
                        fontSize: 18,
                        fontWeight: FontWeight.w400,
                      ),
                    ),
                    // Image.asset(
                    //   'assets/image_ex.png',
                    //   width: 150,
                    //   height: 150,
                    // ),
                  ],
                ),
                centerWidget: const Icon(
                  Icons.expand_less_rounded,
                  size: 50,
                ))
          ],
        ),

カテゴリー

ソースリポジトリ

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

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