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

GitHub リポジトリAbdallahAwd/tap_to_expand

展開するにはタップしてください

このパッケージを使えば、わずかなコードで簡単に拡張可能なウィジェットを素早く構築でき、必要に応じてカスタマイズできます!

展開するにはタップしてください のプロジェクト画像
スター
11
フォーク
2
最終プッシュ(UTC)
2024/03/24
プロジェクト状態
公開中

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

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,
                ))
          ],
        ),
Abdallah Awad GitHub avatar
GitHub 作者

Abdallah Awad ↗

I'm Abdullah, from Egypt, a Software Engineer full-stack mobile developer (Dart / Go)

言語Dart

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 4 件

  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^1.0.0
  • test開発用^1.24.9

プロジェクトに合うリポジトリを選ぶには?

用途で絞り込み、開発状況を比較し、採用前に元のリポジトリで要件を確認しましょう。

  1. 名前・作者・説明で検索し、技術トピックで絞り込みます。
  2. スター、フォーク、最近のプッシュを比較します。スターは関心の目安であり、品質の保証ではありません。
  3. 利用前に GitHub で README、ライセンス、Issues を確認します。

情報源と管理

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗