simple_month_year_picker 1.0.3 copy "simple_month_year_picker: ^1.0.3" to clipboard
simple_month_year_picker: ^1.0.3 copied to clipboard

Simple to use month/year picker for your apps with highly customisable options.

Simple Month Year Picker #

Simple to use month/year picker for your apps with highly customisable options.

Image

Getting started #

Add this to your package's pubspec.yaml file

dependencies:
  simple_month_year_picker: ^1.0.3

Usage #

Next, you just have to import the package using:

import 'package:simple_month_year_picker/simple_month_year_picker.dart';
  Widget build(BuildContext context) {
   return ElevatedButton(
            onPressed: () async {
                var selectedDate = await SimpleMonthYearPicker.showMonthYearPickerDialog(
                  context: context,
                  titleTextStyle: TextStyle(),
                  monthTextStyle: TextStyle(),
                  yearTextStyle: TextStyle(),
                debugPrint("month :" + selectedDate.month.toString());
                debugPrint("year :" + selectedDate.year.toString());  
              );
            },
            child: const Text('show dialog'),
          );
  }

Additional information #

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

7
likes
0
points
519
downloads

Publisher

verified publishersivaprasadnk.dev

Weekly Downloads

Simple to use month/year picker for your apps with highly customisable options.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on simple_month_year_picker