calendar_slider 0.0.1 copy "calendar_slider: ^0.0.1" to clipboard
calendar_slider: ^0.0.1 copied to clipboard

Flutter package for horizontally sliding calender widget

CalendarSllider widget with a lot of customization

License: MIT

Getting Started #

  1. Depend on it Add it to your package's pubspec.yaml file
dependencies:
  flutter:
    sdk: flutter
  calendar_slider: version
  1. Install it Install packages from the command line
flutter pub get calendar_slider
  1. Import it Import it to your project
import 'package:calendar_slider/calendar_slider.dart';
SelectedDayPosition.center SelectedDayPosition.Left SelectedDayPosition.Right
FullCalendarScroll.vertical FullCalendarScroll.horizontal

Demo #

How to use? #

Use the CalendarAgenda Widget

CalendarAgenda(
initialDate: DateTime.now(),
firstDate: DateTime.now().subtract(Duration(days: 140)),
lastDate: DateTime.now().add(Duration(days: 4)),
onDateSelected: (date) {
print(date);
},
)

Props #

Props Types Required defaultValues
initialDate DateTime True
firstDate DateTime True
lastDate DateTime True
onDateSelected Funtion False
backgroundColor Color? False
selectedDayLogo ImageProvider<Object>? False
controller CalendarAgendaController? False
selectedDateColor Color? False Colors.black
dateColor Color? False Colors.white
calendarBackground Color? False Colors.white
calendarEventSelectedColor Color? False Colors.white
calendarEventColor Color? False Colors.blue
locale String? False 'en'
leading Widget? False
appbar bool False False
events List<DateTime>? False
fullCalendar bool False True
fullCalendarScroll FullCalendarScroll False FullCalendarScroll.vertical
fullCalendarDay WeekDay False WeekDay.short
weekDay WeekDay False WeekDay.short
selectedDayPosition SelectedDayPosition False SelectedDayPosition.left

Thank you #

Special thanks goes to all contributors to this package. Make sure to check them out.

8
likes
0
pub points
84%
popularity

Publisher

unverified uploader

Flutter package for horizontally sliding calender widget

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, intl, scrollable_positioned_list

More

Packages that depend on calendar_slider