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

from_to_time_picker のカバー
パッケージ詳細v1.2.2

from_to_time_picker

24時間および12時間形式の両方で、1日の開始時刻と終了時刻を選択できるシンプルな期間時間範囲ピッカー

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

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

flutter pub add from_to_time_picker

パッケージ概要

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

1日の中での時間帯の範囲を選択できるシンプルなFlutterパッケージで、ユーザーが開始時刻と終了時刻の両方を指定できます。複数のプラットフォームで24時間制および12時間制のフォーマットをサポートしています。期間入力が必要なアプリにスムーズに統合できる、洗練された直感的なインターフェースを備えています。予定管理、予約、イベント作成機能に最適です。

用途

  • 予約のスケジューリング
  • 予約時間枠
  • イベントプランニング
  • タスク期間の選択
  • 時間追跡

主な機能

  • 24時間および12時間形式の時刻フォーマットに対応しています
  • 簡単な開始/終了時刻の選択
  • クロスプラットフォーム互換性
  • カスタマイズ可能な UI
  • Flutter フォームとの簡単な統合

適している対象

  • 時間範囲の入力を必要とするアプリ開発者
  • スケジューリングまたはカレンダーアプリ
  • 時間ベースのワークフローを備えたモバイルおよびウェブアプリ

注意事項

  • 1日間の時間範囲に限定
  • タイムゾーンの処理なし
  • 論理的な時系列順序の検証には手動確認が必要です

元の README

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

From To Time Picker

Pub Version License: MIT GitHub code size in bytes

Simple interactive time range picker that enables users to pick a specific duration of the day by selecting start time and end time and defining whether it was AM or PM then it returns the duration chosen in 24H format.

time_picker_gif time_picker_gif

Usage

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
...
from_to_time_picker: ^1.2.2

In your library add the following import:

import 'package:from_to_time_picker/from_to_time_picker.dart';

Example

default mode


showDialog(
        context: context,
        builder: (_) => FromToTimePicker(
              onTab: (from, to) {
                print('from $from to $to');
              },
            ));

customized mode

showDialog(
      context: context,
      builder: (_) => FromToTimePicker(
        onTab: (from, to) {
          print('from $from to $to');
        },
        dialogBackgroundColor: Color(0xFF121212),
        fromHeadlineColor: Colors.white,
        toHeadlineColor: Colors.white,
        upIconColor: Colors.white,
        downIconColor: Colors.white,
        timeBoxColor: Color(0xFF1E1E1E),
        timeHintColor: Colors.grey,
        timeTextColor: Colors.white,
        dividerColor: Color(0xFF121212),
        doneTextColor: Colors.white,
        dismissTextColor: Colors.white,
        defaultDayNightColor: Color(0xFF1E1E1E),
        defaultDayNightTextColor: Colors.white,
        colonColor: Colors.white,
        showHeaderBullet: true,
        headerText: 'Time available from 01:00 AM to 11:00 PM',
      ),
    );

Contributing

We accept the following contribution:

  • Improving documentation
  • Reporting issues
  • fixing bugs

Maintainer

  • Ahmed Elsarag

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

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

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