small_calendar 0.4.0 copy "small_calendar: ^0.4.0" to clipboard
small_calendar: ^0.4.0 copied to clipboard

discontinued
Dart 1 only

Small Calendar widget. With ability to display weekday indication and some basic info about every day.

small_calendar #

small_calendar widget.

Usage #

Add Dependency #

dependencies:
    small_calendar: "^0.4.0"

Import It #

import 'package:small_calendar/small_calendar.dart';

Use It #

  1. Create new SmallCalendarData (this widget provides data to SmallCalendar-s down the widget tree)
  2. (Optionally) Create SmallCalendarStyle (to change the looks of SmallCalendar)
  3. Create SmallCalendarPager (to enable swiping between months)
  4. In pageBuilder of SmallCalendarPager create a new SmallCalendar

If you wish to display SmallCalendar for only one Month (without the ability to swipe between months), omit the SmallCalendarPager.

new SmallCalendarData(
  child: new SmallCalendarStyle(
    child: new SmallCalendarPager(
      pageBuilder: (BuildContext context, DateTime month) {
        return new SmallCalendar(
            month: month,
          );
        },
    ),
  ),
);

Styling #

  • 1. - weekdayIndicationHeight
  • 2. - WeekdayIndicationStyleData/textStyle
  • 3. - WeekdayIndicationStyleData/backgroundColor
  • 4. - DayStyleData/extendedDayTextStyle
  • 5. - DayStyleData/dayTextStyle
  • 6. - tick
  • 7. - textTickSeparation
  • 8. - selectedColor
  • 9. - todayColor
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Small Calendar widget. With ability to display weekday indication and some basic info about every day.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, meta, quiver

More

Packages that depend on small_calendar