dropdown_calender 1.0.0
dropdown_calender: ^1.0.0 copied to clipboard
A Flutter package that provides a customizable dropdown calendar for selecting dates with ease
Dropdown Calendar #
A Flutter package that provides a selectable dropdown calendar for picking a date. This widget allows users to easily select a date from a dropdown-style calendar while offering customizable designs to fit your app's theme.
Features #
- 📅 Dropdown Date Picker – Users can select a date from a dropdown-style calendar.
- 🎨 Fully Customizable – Change colors, styles, and UI to match your app's theme.
- 🔄 Easy Integration – Simple to add and use with just a few lines of code.
- 🚀 Supports Different Date Formats – Display the date in various formats as per your needs.
Getting Started #
To use this package, add the following to your pubspec.yaml:
dependencies:
dropdown_calender: 1.0.0
flutter pub get
USAGE #
class Screen extends StatefulWidget {
const Screen({super.key});
@override
State<Screen> createState() => _ScreenState();
}
class _ScreenState extends State<Screen> {
@override
Widget build(BuildContext context) {
return Scaffold(
body:Column(
children:[
DateSelectorScreen2(
startDate:DateTime(1930) ,
endDate:DateTime(2026,4,1),
onDateSelected: (date){
debugPrint('Selected date: $date');
},
),
]
)
);
}
}