flutter_advanced_calendar 1.0.1+1
flutter_advanced_calendar: ^1.0.1+1 copied to clipboard

An advanced calendar provides a rich API for widget customization that opens a new look and feel in your app.

flutter_advanced_calendar #

An advanced calendar provides a rich API for widget customization that opens a new look and feel in your app.

Advanced Calendar Theme LAF #

Advanced Calendar Light ThemeAdvanced Calendar Dark Theme
PREVIEW_LIGHT_COLLAPSEDPREVIEW_DARK_COLLAPSED
PREVIEW_LIGHT_EXPANDEDPREVIEW_DARK_EXPANDED

Examples #

Regular Calendar

final _controller = AdvancedCalendarController.today();
// ...
AdvancedCalendar(
    controller: _controller,
)
// ...

Custom Date Calendar

final _controller = AdvancedCalendarController.custom(DateTime(2021, 2, 15));
// ...
final theme = ThemeData.light();

Theme(
  data: theme.copyWith(
    textTheme: theme.textTheme.copyWith(
      subtitle1: Ttheme.textTheme.subtitle1.copyWith(
        fontSize: 16,
        color: theme.accentColor,
      ),
      bodyText1: theme.textTheme.bodyText1.copyWith(
        fontSize: 14,
        color: Colors.black54,
      ),
      bodyText2: theme.textTheme.bodyText1.copyWith(
        fontSize: 12,
        color: Colors.black87,
      ),
    ),
    primaryColor: Colors.red,
    highlightColor: Colors.yellow,
    disabledColor: Colors.green,
  ),
  child: AdvancedCalendar(
    controller: _calendarControllerCustom,
    weekLineHeight: 48.0,
  ),
),
// ...

AdvancedCalendar Parameters #

ParameterDescriptionTypeDefault
controllerController that manage calendar stateAdvancedCalendarControllerrequired
weekLineHeightHeight of week linedouble32.0
preloadMonthViewAmountAmount of months in month view to preloadint13
preloadWeekViewAmountAmount of weeks in week view to preloadint21
weeksInMonthViewAmountWeeks lines amount in month viewint6
16
likes
120
pub points
44%
popularity

Publisher

alexmelnyk.io

An advanced calendar provides a rich API for widget customization that opens a new look and feel in your app.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on flutter_advanced_calendar