material_calendar 0.0.7 material_calendar: ^0.0.7 copied to clipboard
Power up your Flutter app with a sleek and intuitive Material calendar experience.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add material_calendar
With Flutter:
$ flutter pub add material_calendar
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
material_calendar: ^0.0.7
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:material_calendar/flutter_calendar_plugin.dart';
import 'package:material_calendar/models/calendar_decorator.dart';
import 'package:material_calendar/models/cell_design_model.dart';
import 'package:material_calendar/models/year_month_model.dart';
import 'package:material_calendar/widgets/calendar_widget.dart';
import 'package:material_calendar/widgets/day_cell.dart';
import 'package:material_calendar/widgets/month_year_view.dart';
import 'package:material_calendar/widgets/week_calendar.dart';