flutter_timeline_calendar 1.0.7 flutter_timeline_calendar: ^1.0.7 copied to clipboard
Gregorian and Jalali Event calendar for flutter with options for change style
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_timeline_calendar
With Flutter:
$ flutter pub add flutter_timeline_calendar
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
flutter_timeline_calendar: ^1.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:flutter_timeline_calendar/timeline/dictionaries/dictionary.dart';
import 'package:flutter_timeline_calendar/timeline/dictionaries/en.dart';
import 'package:flutter_timeline_calendar/timeline/dictionaries/fa.dart';
import 'package:flutter_timeline_calendar/timeline/dictionaries/pt.dart';
import 'package:flutter_timeline_calendar/timeline/flutter_timeline_calendar.dart';
import 'package:flutter_timeline_calendar/timeline/handlers/calendar_monthly_utils.dart';
import 'package:flutter_timeline_calendar/timeline/handlers/translator.dart';
import 'package:flutter_timeline_calendar/timeline/model/calendar_options.dart';
import 'package:flutter_timeline_calendar/timeline/model/datetime.dart';
import 'package:flutter_timeline_calendar/timeline/model/day_options.dart';
import 'package:flutter_timeline_calendar/timeline/model/headers_options.dart';
import 'package:flutter_timeline_calendar/timeline/model/select_month_options.dart';
import 'package:flutter_timeline_calendar/timeline/model/select_year_options.dart';
import 'package:flutter_timeline_calendar/timeline/model/selected_day_options.dart';
import 'package:flutter_timeline_calendar/timeline/provider/calendar_provider.dart';
import 'package:flutter_timeline_calendar/timeline/provider/gregorian_calendar.dart';
import 'package:flutter_timeline_calendar/timeline/provider/instance_provider.dart';
import 'package:flutter_timeline_calendar/timeline/utils/calendar_types.dart';
import 'package:flutter_timeline_calendar/timeline/utils/calendar_utils.dart';
import 'package:flutter_timeline_calendar/timeline/utils/style_provider.dart';
import 'package:flutter_timeline_calendar/timeline/widget/calendar_daily.dart';
import 'package:flutter_timeline_calendar/timeline/widget/calendar_monthly.dart';
import 'package:flutter_timeline_calendar/timeline/widget/day.dart';
import 'package:flutter_timeline_calendar/timeline/widget/header.dart';
import 'package:flutter_timeline_calendar/timeline/widget/select_day.dart';
import 'package:flutter_timeline_calendar/timeline/widget/select_month.dart';
import 'package:flutter_timeline_calendar/timeline/widget/select_year.dart';
import 'package:flutter_timeline_calendar/timeline/widget/timeline_calendar.dart';