Pakete, Repositories und App-Kategorien suchen

Cover von time_picker_spinner_pop_up
Paketdetailsv3.0.0

time_picker_spinner_pop_up

Ein Paket, das einen Popup-Anker zum Auswählen von Datum und Uhrzeit mit Spinner-Cupertino-Stil anzeigt

AndroidiOSmacOSWindowsLinux
30-Tage-Downloads
6780
Likes
185
Pub-Punkte
150

Paket installieren

flutter pub add time_picker_spinner_pop_up

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein Flutter-Paket, das ein Popup-Diagramm mit einem spinnerbasierten Zeitwähler im Cupertino-Stil anzeigt. Es ermöglicht Benutzern die Auswahl von Zeitwerten über intuitive Spinner und ist ideal für Apps, die auf mehreren Plattformen eine native Art der Zeitauswahl bieten müssen. Das Popup ist an ein bestimmtes Widget angekoppelt, was eine nahtlose Integration in bestehende Benutzeroberflächen ermöglicht. Für Einfachheit und Konsistenz über Android, iOS, macOS, Windows und Linux entwickelt.

Anwendungsfälle

  • Zeit Auswahl in Formularen
  • Planungsfunktionen
  • Benutzereinstellungen
  • Mobile-first-Anwendungsinterfaces
  • plattformübergreifende Zeitwähler

Hauptmerkmale

  • Cupertino-Stil Spinner-Schnittstelle
  • Popup an Ziel-Widget angeheftet
  • Unterstützt mehrere Plattformen
  • Einfache Integration mit Flutter
  • Anpassbarer Zeitformat

Geeignet für

  • Entwickler, die plattformübergreifende Anwendungen erstellen
  • Benutzeroberflächenorientierte Anwendungen
  • Apps, die native-artige Zeitwähler benötigen
  • Formular-lastige Anwendungen
  • Liebhaber des iOS-Stils

Hinweise

  • Beschränkt auf Zeit Auswahl
  • Kein Datumsauswahl hinzugefügt
  • Benötigt manuelle Behandlung der Zeitwertanalyse
  • Nicht geeignet für komplexe Datums-/Zeit-Workflows
  • Hängt von externer Abhängigkeit für Styling ab

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

A beautiful and animated time picker spinner pop up.

Here are some supported style:

Time picker

DEMO

Date picker

DEMO

Usage

Short implementation:
        TimePickerSpinnerPopUp(
          mode: CupertinoDatePickerMode.time,
          initTime: DateTime.now(),
          onChange: (dateTime) {
            // Implement your logic with select dateTime
          },
        )
Full implementation:
        TimePickerSpinnerPopUp(
          mode: CupertinoDatePickerMode.date,
          initTime: DateTime.now(),
          minTime: DateTime.now().subtract(const Duration(days: 10)),
          maxTime: DateTime.now().add(const Duration(days: 10)),
          barrierColor: Colors.black12, //Barrier Color when pop up show
          minuteInterval: 1,
          padding : const EdgeInsets.fromLTRB(12, 10, 12, 10),
          cancelText : 'Cancel',
          confirmText : 'OK',
          pressType: PressType.singlePress,
          timeFormat: 'dd/MM/yyyy',
          // Customize your time widget
          // timeWidgetBuilder: (dateTime) {},
          onChange: (dateTime) {
          // Implement your logic with select dateTime
          },
        )
Locale:

You can set custom locale with

    locale: Locale('vi'),

But remember to add localizationsDelegates to your MaterialApp:

    MaterialApp(
        localizationsDelegates: const [
            GlobalMaterialLocalizations.delegate,
            GlobalWidgetsLocalizations.delegate,
            GlobalCupertinoLocalizations.delegate,
        ],
        ...
    )

License

Copyright (c) 2021 Tuannvm

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Kategorien

Abhängigkeiten

Abhängigkeiten 1 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.