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

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

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());
}
117
likes
0
points
3.86k
downloads

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

Topics

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

License

unknown (license)

Dependencies

flutter

More

Packages that depend on infinite_calendar_view