infinite_calendar_view 2.11.2 copy "infinite_calendar_view: ^2.11.2" to clipboard
infinite_calendar_view: ^2.11.2 copied to clipboard

Easily build your different views of your calendar with this package. Month, week, multi days, one day, list ... and many features of the calendar widget.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:infinite_calendar_view/infinite_calendar_view.dart';

import 'app.dart';

class Example extends StatelessWidget {
  const Example({super.key, required this.eventsController});

  final EventsController eventsController;

  static final heightPerMinute = 1.0;
  static final initialVerticalScrollOffset = heightPerMinute * 7 * 60;

  @override
  Widget build(BuildContext context) {
    return EventsPlanner(
      controller: eventsController,
      daysShowed: 3,
      heightPerMinute: heightPerMinute,
      initialVerticalScrollOffset: initialVerticalScrollOffset,
      dayParam: DayParam(
        slotSelectionParam: SlotSelectionParam(
          enableLongPressSlotSelection: true,
        ),
      ),
    );
  }
}

void main() {
  runApp(App());
}
114
likes
160
points
3.47k
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Easily build your different views of your calendar with this package. Month, week, multi days, one day, list ... and many features of the calendar widget.

Repository (GitHub)
View/report issues
Contributing

Topics

#calendar #schedule #planning #planner #week-view

License

MIT (license)

Dependencies

flutter

More

Packages that depend on infinite_calendar_view