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

GitHub リポジトリsivaprasadnk/SimpleMonthYearPicker

SimpleMonthYearPicker

sivaprasadnk/SimpleMonthYearPicker open-source repository details.

SimpleMonthYearPicker のプロジェクト画像
スター
3
フォーク
5
最終プッシュ(UTC)
2025/02/09
プロジェクト状態
公開中

元の README

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

Simple Month Year Picker

Simple to use month/year picker for your apps with highly customisable options.

screenshot1

Getting started

Add this to your package's pubspec.yaml file

dependencies:
  simple_month_year_picker: ^1.1.0

Usage

Next, you just have to import the package using:

import 'package:simple_month_year_picker/simple_month_year_picker.dart';
  Widget build(BuildContext context) {
   return ElevatedButton(
              onPressed: () async {
                // This is in order to get the selected date.
                final selectedDate =
                    await SimpleMonthYearPicker.showMonthYearPickerDialog(
                        context: context,
                        titleTextStyle: TextStyle(),
                        monthTextStyle: TextStyle(),
                        yearTextStyle: TextStyle(),
                        disableFuture:
                            true // This will disable future years. it is false by default.
                        );
                // Use the selected date as needed
                print('Selected date: $selectedDate');
              },
              child: const Text('show dialog'),
            );
  }

Additional information

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Sivaprasad NK GitHub avatar
GitHub 作者

Sivaprasad NK ↗

Tripunithura, Kerala公式サイト ↗
言語Dart

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

使用している依存関係

依存関係一覧 3 件

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

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

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

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

情報源と管理

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

GitHub Docs — About repositories ↗