clean_calendar 0.0.1-dev.1 copy "clean_calendar: ^0.0.1-dev.1" to clipboard
clean_calendar: ^0.0.1-dev.1 copied to clipboard

A new Flutter calendar package that allows you to create a clean, beautiful and customisable calendar. Currently it supports a customisable month view and option to show custom streaks for dates. This [...]

Note: Clean calendar is very new rigtnow but don't be afraid of the new as it will be maintained mannerly for a very long long time. It is in active development stage.

Description #

A new Flutter calendar package that allows you to create a clean, beautiful and customisable calendar. Currently it supports a customisable month view and option to show custom streaks for dates. This is only the beginning as it is under active development to include various common features such as events, date selection and many more.

Features #

  • Create custom streaks of dates.

  • Custom month view calendar.

Dark mode Gif Light mode Gif

Getting started #

  • Add dependency in pubspec.yaml:
clean_calendar: 
  • Import the package into your project:
import 'package:clean_calendar/clean_calendar.dart';

Usage #

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 2,
        title: const Text("Calendar"),
      ),
      body: CleanCalendar(
        enableDenseViewForDates: true, // <- Set false to allow button boundary to expand.
        enableDenseSplashForDates: false, // <- Set true to minimise tap target.
        datesForStreaks: [
          DateTime(2022, 8, 5),
          DateTime(2022, 8, 6),
          DateTime(2022, 8, 7),
          DateTime(2022, 8, 9),
          DateTime(2022, 8, 10),
          DateTime(2022, 8, 11),
          DateTime(2022, 8, 13),
          DateTime(2022, 8, 20),
          DateTime(2022, 8, 21),
          DateTime(2022, 8, 23),
          DateTime(2022, 8, 24),
        ],
      ),
    );
  }
}

Additional information #

Support for these are planned:

  • Complete documentaion.

  • Date selection: Single selection, multiple selection, range selection, multi range selection.

  • Option to calendar for view selection by year, month and day.

  • Support for events display for dates.

  • Dry mode which will remove or replace heavy animations and widgets to optimise performance for low end devices.

67
likes
0
pub points
87%
popularity

Publisher

verified publisherdeepanshuchaudhary.com

A new Flutter calendar package that allows you to create a clean, beautiful and customisable calendar. Currently it supports a customisable month view and option to show custom streaks for dates. This is only the beginning as it is under active development to include various common features such as events, date selection and many more.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_riverpod

More

Packages that depend on clean_calendar