Nepali_date_picker

Material Style Date Picker with Bikram Sambat(Nepali) Calendar Support. Supports both Android and ios.
Alternatives To Nepali_date_picker
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Pickadate.js7,707
3 years ago285mitJavaScript
The mobile-friendly, responsive, and lightweight jQuery date & time input picker.
V Calendar3,770991374 days ago117February 06, 2022637mitHTML
An elegant calendar and datepicker plugin for Vue.
Pdtsimplecalendar1,954
315 years ago8August 27, 201537apache-2.0Objective-C
A simple Calendar / Date Picker for iOS using UICollectionView
Mobiscroll1,51121a year ago25May 17, 202131otherJavaScript
Cross platform UI controls for progressive web and hybrid apps (plain JS, jQuery, Angular and React)
React Date Picker1,04850412619 hours ago239February 04, 202227mitJavaScript
A date picker for your React app.
Material Calendar View882
7 months ago2November 27, 201820apache-2.0Kotlin
Material Calendar View for Android
Glcalendarview871
76 years ago7August 22, 201524mitObjective-C
A fully customizable calendar view acting as a date range picker
Rsdayflow843
168 months ago33October 22, 2018mitObjective-C
iOS 7+ Calendar (Date Picker) with Infinite Scrolling.
Moment Jalaali8382082854 months ago38April 09, 202237mitJavaScript
A Jalaali (Jalali, Persian, Khorshidi, Shamsi) calendar system plugin for moment.js.
React Modern Calendar Datepicker820178 months ago22July 03, 2020139mitJavaScript
A modern, beautiful, customizable date picker for React
Alternatives To Nepali_date_picker
Select To Compare


Alternative Project Comparisons
Readme

Nepali Date Picker + Calendar

Pub Package Licence Demo effective dart

Material and Cupertino Styled Date Picker, Date Range Picker and Calendar with Bikram Sambat(Nepali) Support.

Loading Demo

Nepali Date Picker returns data in NepaliDateTime type, which is included in nepali_utils package.

Click here to launch WEB DEMO

Loading Demo Loading Demo

Salient Features

  • Material DatePicker
  • Cupertino DatePicker
  • Adaptive DatePicker
  • Calendar Picker
  • Material Date Range Picker
  • Calendar Range Picker
  • Supports from 1970 B.S. to 2100 B.S.

Note

Use Version 5.0.0 for flutter < 2.1.0

Usage

Material Style Date Picker

import 'package:nepali_date_picker/nepali_date_picker.dart' as picker;

NepaliDateTime _selectedDateTime = await picker.showMaterialDatePicker(
    context: context,
    initialDate: NepaliDateTime.now(),
    firstDate: NepaliDateTime(2000),
    lastDate: NepaliDateTime(2090),
    initialDatePickerMode: DatePickerMode.day,
);

print(_selectedDateTime); // 2076-02-16T00:00:00

Cupertino Style Date Picker

picker.showCupertinoDatePicker(
    context: context,
    initialDate: NepaliDateTime.now(),
    firstDate: NepaliDateTime(2000),
    lastDate: NepaliDateTime(2090),
    language: _language,
    dateOrder: _dateOrder,
    onDateChanged: (newDate) {
        print(_selectedDateTime);
    },
);

Adaptive Date Picker

Shows DatePicker based on Platform. i.e. Cupertino DatePicker will be shown on iOS while Material on Android and Fuchsia.

NepaliDateTime _selectedDateTime = await picker.showAdaptiveDatePicker(
    context: context,
    initialDate: NepaliDateTime.now(),
    firstDate: NepaliDateTime(2000),
    lastDate: NepaliDateTime(2090),
    language: _language,
    dateOrder: _dateOrder, // for iOS only
    initialDatePickerMode: DatePickerMode.day, // for platform except iOS
);

Calender Picker

Shows Calendar, can be used for showing events.

CalendarDatePicker(
    initialDate: NepaliDateTime.now(),
    firstDate: NepaliDateTime(2070),
    lastDate: NepaliDateTime(2090),
    onDateChanged: (date) => _selectedDate.value = date,
    dayBuilder: (dayToBuild) { // Optional
      return Center(
                child: Text(
                    '${dayToBuild.day}',
                    style: Theme.of(context).textTheme.caption,
               ),
          ),
      },
     selectedDayDecoration: BoxDecoration ( // Optional
            color: Colors.deepOrange,
            shape: BoxShape.circle,
     ),
     todayDecoration: BoxDecoration ( // Optional
            gradient: LinearGradient(colors: [Colors.yellow, Colors.orange]),
            shape: BoxShape.circle,
     ),
};

Screenshots

Material Design (Portrait)

Portrait Screenshot

Material Design (Landscape)

Landscape Screenshot

Cupertino Design

Cupertino English

Cupertino Nepali

Example

Detailed Example

License

Copyright 2020 Sarbagya Dhaubanjar. All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above
      copyright notice, this list of conditions and the following
      disclaimer in the documentation and/or other materials provided
      with the distribution.
    * Neither the name of Google Inc. nor the names of its
      contributors may be used to endorse or promote products derived
      from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Popular Calendar Projects
Popular Picker Projects
Popular User Interface Components Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Dart
Flutter
Material
Date
Calendar
Picker
Flutter Apps
Datepicker
Flutter Plugin