infinite_calendar_view 2.10.2 copy "infinite_calendar_view: ^2.10.2" to clipboard
infinite_calendar_view: ^2.10.2 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());
}
102
likes
160
points
2.78k
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
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, sticky_infinite_list

More

Packages that depend on infinite_calendar_view