nepali_date_picker 4.1.0 copy "nepali_date_picker: ^4.1.0" to clipboard
nepali_date_picker: ^4.1.0 copied to clipboard

outdated

Material and Cupertino Style Date Picker and Calendar with Bikram Sambat(Nepali) Calendar Support. Supports Android, iOS and Fuchsia. Available in Nepali and English Languages.

example/lib/main.dart

// Copyright 2019 Sarbagya Dhaubanjar. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';
import 'package:nepali_date_picker_example/modes/calendar_date_picker_widget.dart';
import 'package:nepali_date_picker_example/modes/date_picker_widget.dart';

void main() => runApp(MyApp());

/// MyApp
class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        primarySwatch: Colors.deepPurple,
      ),
      title: 'Nepali Date Picker Demo',
      home: DefaultTabController(
        length: 2,
        child: Scaffold(
          appBar: AppBar(
            title: Text("Nepali Date Picker"),
            centerTitle: true,
            bottom: TabBar(
              tabs: [
                Tab(text: 'Date Picker'),
                Tab(text: 'Calendar'),
              ],
            ),
          ),
          body: TabBarView(
            children: [
              DatePickerWidget(),
              CalendarDatePickerWidget(),
            ],
          ),
        ),
      ),
    );
  }
}
88
likes
0
pub points
92%
popularity

Publisher

verified publishersarbagyastha.com.np

Material and Cupertino Style Date Picker and Calendar with Bikram Sambat(Nepali) Calendar Support. Supports Android, iOS and Fuchsia. Available in Nepali and English Languages.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, nepali_utils

More

Packages that depend on nepali_date_picker