device_calendar_extended 0.1.0

  • Readme
  • Changelog
  • Example
  • Installing
  • 52

device_calendar_extended #

Provides bindings to native device calendar (on iOS and Android), with the capability to synchronise the calendar on background. Contrary to device_calendar, the iOS part is done with ObjectiveC, so that the problems of missing Swift ABI (resulting in large binary sizes due to embedding several versions of Flutter libraries) can be avoided.

Features #

  • TODO Synchronise selected calendar(s) periodically in the background, and invoke application on data change. 3-8-5-3-recurrence-rule.html) (RRULE part)
  • TODO Lists device calendars
  • TODO Creates/Retrieves/Updates/Deletes calendar events
  • TODO Supports iCal [recurrence rules](https://icalendar.org/iCalendar-RFC-5545/

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Change Log for device_calendar_extended #

A device calendar plugin that supports background synchronisation, recurrence rules and uses ObjectiveC for iOS

v0.1.0 - 2020-02-27 #

Feature #

  • Initial commit: Readme, contribution guide, plugin boilerplate, stub tests 6304a36

This CHANGELOG.md was generated with Changelog for Dart

example/lib/main.dart

import 'package:flutter/material.dart';

import 'common/app_routes.dart';
import 'presentation/pages/calendars.dart';

void main() => runApp(MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      routes: {
        AppRoutes.calendars: (context) {
          return CalendarsPage(key: Key('calendarsPage'));
        }
      },
    );
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  device_calendar_extended: ^0.1.0

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:device_calendar_extended/device_calendar_extended.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
5
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
52
Learn more about scoring.

We analyzed this package on Jul 12, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.14
  • Flutter: 1.17.5

Analysis suggestions

Package does not support Flutter platform linux

Because:

  • package:device_calendar_extended/device_calendar_extended.dart that declares support for platforms: android, ios

Package does not support Flutter platform macos

Because:

  • package:device_calendar_extended/device_calendar_extended.dart that declares support for platforms: android, ios

Package does not support Flutter platform web

Because:

  • package:device_calendar_extended/device_calendar_extended.dart that declares support for platforms: android, ios

Package does not support Flutter platform windows

Because:

  • package:device_calendar_extended/device_calendar_extended.dart that declares support for platforms: android, ios

Package not compatible with SDK dart

Because:

  • device_calendar_extended that is a package requiring null.

Health suggestions

Fix lib/src/device_calendar_extended.dart. (-1 points)

Analysis of lib/src/device_calendar_extended.dart reported 2 hints:

line 25 col 22: Don't explicitly initialize variables to null.

line 217 col 9: Two keys in a map literal shouldn't be equal.

Fix lib/src/models/event.dart. (-0.50 points)

Analysis of lib/src/models/event.dart reported 1 hint:

line 1 col 8: Unused import: '../../device_calendar_extended.dart'.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
built_collection ^4.3.0 4.3.2
built_value ^7.0.0 7.1.0
flutter 0.0.0
Transitive dependencies
collection 1.14.12 1.14.13
fixnum 0.10.11
matcher 0.12.8
path 1.7.0
quiver 2.1.3
sky_engine 0.0.99
stack_trace 1.9.5
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
build_runner 1.7.2
built_value_generator 7.0.0
flutter_test
meta 1.1.8 1.1.8 1.2.2
test 1.9.4