सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
एक फ्लटर पैकेज जो उपयोगकर्ताओं को इनपुट फ़ील्ड, डायलॉग और इंटरैक्टिव कैलेंडर सहित कई इंटरफ़ेस के माध्यम से तारीख श्रृंखला चुनने की अनुमति देता है। यह सभी प्रमुख प्लेटफ़ॉर्म—एंड्रॉइड, आईओएस, वेब, मैकओएस, विंडोज और लिनक्स—का समर्थन करता है, जिससे यह लचीले तारीख श्रृंखला चयन की आवश्यकता वाले क्रॉस-प्लेटफ़ॉर्म एप्लिकेशन के लिए आदर्श है। पैकेज एक साफ़, कस्टमाइज़ेबल यूआई प्रदान करता है, जिसमें निर्मित वैधता और तारीखों के बीच सहज नेविगेशन शामिल है। यह समय अंतराल की आवश्यकता वाले फॉर्म और वर्कफ़्लो में बिना किसी दिक्कत के एकीकृत हो जाता है।
उपयोग
तारीख के दायरे की आवश्यकता वाले फॉर्म इनपुट
बुकिंग या स्केड्यूलिंग प्रणाली
तारीख के अंतराल द्वारा डेटा फ़िल्टरिंग
इवेंट योजना एप्लिकेशन
तारीख सीमा चयन के साथ रिपोर्टिंग उपकरण
कैलेंडर-आधारित डैशबोर्ड
मुख्य विशेषताएँ
बहुचयन मोड (इनपुट, डायलॉग, कैलेंडर)
क्रॉस-प्लेटफॉर्म संगतता
कस्टमाइज़ेबल यूआई और स्टाइलिंग
निर्मित तारीख मान्यता
एक और एक से अधिक तिथि सीमा का समर्थन
मौजूदा Flutter फॉर्म के साथ आसान एकीकरण
इनके लिए उपयुक्त
क्रॉस-प्लेटफॉर्म ऐप्स बनाने वाले डेवलपर्स
तारीख सीमा फ़िल्टर की आवश्यकता वाले अनुप्रयोग
तिथि इनपुट वाले यूआई-भारी फॉर्म
नियोजन और बुकिंग प्लेटफॉर्म
समय अंतराल चयन की आवश्यकता वाले उपकरण
विचार योग्य बातें
तारीख़ प्रारूपण के साथ सावधानीपूर्वक निपटना आवश्यक है
अतिरिक्त स्थानीयकरण सेटअप की आवश्यकता हो सकती है
कस्टम स्टाइलिंग को विजेट संयोजन की गहन समझ की आवश्यकता हो सकती है
केवल तारीख का चयन सीमित (समय घटक नहीं)
बहुत बड़े तारीख सीमा के लिए अनअनुकूलित
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Date Range Picker 📅
Date Range Picker is a user-friendly and simple package for Flutter that allows users to select a date range. It's
designed to evolve over time, and its components are built to be reusable.
(Isn't it beautiful?)
Features ✅
Simple and user-friendly interface
Customizable theme
Reusable components
Field, form field, and dialog widgets
Functions to display a date range picker as a dialog
Supports minimum and maximum date limitations
Displays two months at once for easy navigation
Installation 🪛
Add the package to your pubspec.yaml file:
dependencies:date_range_picker:^latest_version
Then, run flutter packages get in your terminal.
Usage 📖
To use the Date Range Picker, simply import the package and create a DateRangePickerWidget:
You can also use the DateRangeField or DateRangeFormField to display a dialog asking the user to select a
date range, and to display the selected range. Here is an example:
DateRangeField(
decoration: InputDecoration(
label: Text("Date range picker"),
hintText: 'Please select a date range',
),
onDateRangeSelected: (DateRange? value) {
// Handle the selected date range here
},
selectedDateRange: selectedRange,
);
Lastly, you can use the showDateRangePickerDialog function to display a dialog asking the user to select a date
range:
We encourage and welcome contributions from the community to help improve and grow this project. If you would like to
contribute, please feel free to fork the repository, make changes, and submit a pull request.
If you have any questions or need guidance, don't hesitate to reach out to the maintainer of this project. We appreciate
your interest and support, and we look forward to collaborating with you!