diff --git a/CHANGELOG.md b/CHANGELOG.md index a40d334b..5233e1a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ -## [0.0.1] - TODO: Add release date. +# 0.0.2 -###### Initial Release +- Update `README.md` file. +- Add license information in package files. +- Update project description in `pubspec.yaml` + +# 0.0.1 + +- Initial release \ No newline at end of file diff --git a/README.md b/README.md index 727065e9..21853a71 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ - -![Team Banner](readme_assets/team_banner.png) - -![Plugin Banner](readme_assets/plugin_banner.png) +![Plugin Banner](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/flutter_calendar_view/master/readme_assets/plugin_banner.png) # calendar_view [![Build](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/workflows/Build/badge.svg?branch=master)](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/actions) [![calendar_view](https://img.shields.io/pub/v/calendar_view?label=calendar_view)](https://pub.dev/packages/calendar_view) - A Flutter package allows you to easily implement all calendar UI and calendar event functionality. -For web demo visit [Demo](https://simformsolutionspvtltd.github.io/flutter_calendar_view/). +For web demo visit [Calendar View Example](https://simformsolutionspvtltd.github.io/flutter_calendar_view/). + +## Preview + +![Preview](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/flutter_calendar_view/master/readme_assets/demo.gif) ## Installing 1. Add dependencies to `pubspec.yaml` - Get the latest version in the 'Installing' tab on [pub.dev](https://pub.dev/) + Get the latest version in the 'Installing' tab on [pub.dev](https://pub.dev/packages/calendar_view/install) ```yaml dependencies: @@ -97,7 +97,7 @@ For web demo visit [Demo](https://simformsolutionspvtltd.github.io/flutter_calen ); ``` - For more info on parameters visit [documentation](#). + For more info on parameters visit [documentation](https://pub.dev/documentation/calendar_view/latest/index.html). 4. Use `controller` to add or remove events. diff --git a/lib/calendar_view.dart b/lib/calendar_view.dart index 22a139d1..7222ead6 100644 --- a/lib/calendar_view.dart +++ b/lib/calendar_view.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + library calendar_view; export './src/calendar_constants.dart'; diff --git a/lib/src/calendar_constants.dart b/lib/src/calendar_constants.dart index 509bd9fe..613bd29a 100644 --- a/lib/src/calendar_constants.dart +++ b/lib/src/calendar_constants.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + class CalendarConstants { CalendarConstants._(); diff --git a/lib/src/calendar_event_data.dart b/lib/src/calendar_event_data.dart index 9b993c8e..5dd5325a 100644 --- a/lib/src/calendar_event_data.dart +++ b/lib/src/calendar_event_data.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/components/_internal_components.dart b/lib/src/components/_internal_components.dart index 4bff684d..f17677f8 100644 --- a/lib/src/components/_internal_components.dart +++ b/lib/src/components/_internal_components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'dart:async'; import 'package:flutter/material.dart'; diff --git a/lib/src/components/common_components.dart b/lib/src/components/common_components.dart index a8b9e192..94088f87 100644 --- a/lib/src/components/common_components.dart +++ b/lib/src/components/common_components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/components/components.dart b/lib/src/components/components.dart index a6df738e..546364fe 100644 --- a/lib/src/components/components.dart +++ b/lib/src/components/components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + export 'day_view_components.dart'; export 'month_view_components.dart'; export 'week_view_components.dart'; diff --git a/lib/src/components/day_view_components.dart b/lib/src/components/day_view_components.dart index 18b2c1d7..858dd8ed 100644 --- a/lib/src/components/day_view_components.dart +++ b/lib/src/components/day_view_components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/components/month_view_components.dart b/lib/src/components/month_view_components.dart index 3df74199..42c99d2c 100644 --- a/lib/src/components/month_view_components.dart +++ b/lib/src/components/month_view_components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/components/week_view_components.dart b/lib/src/components/week_view_components.dart index 3470b890..9143f7a7 100644 --- a/lib/src/components/week_view_components.dart +++ b/lib/src/components/week_view_components.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; diff --git a/lib/src/constants.dart b/lib/src/constants.dart index aae1c442..5cc42d6c 100644 --- a/lib/src/constants.dart +++ b/lib/src/constants.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'dart:math'; import 'dart:ui'; diff --git a/lib/src/day_view/_internal_day_view_page.dart b/lib/src/day_view/_internal_day_view_page.dart index 9d129e78..a0c6ebe8 100644 --- a/lib/src/day_view/_internal_day_view_page.dart +++ b/lib/src/day_view/_internal_day_view_page.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import '../components/_internal_components.dart'; diff --git a/lib/src/day_view/day_view.dart b/lib/src/day_view/day_view.dart index a5bcccc8..f030dc8c 100644 --- a/lib/src/day_view/day_view.dart +++ b/lib/src/day_view/day_view.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import '../calendar_constants.dart'; diff --git a/lib/src/enumerations.dart b/lib/src/enumerations.dart index 5b922247..e72760e8 100644 --- a/lib/src/enumerations.dart +++ b/lib/src/enumerations.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + enum WeekDays { sunday, monday, diff --git a/lib/src/event_arrangers/event_arrangers.dart b/lib/src/event_arrangers/event_arrangers.dart index 218cd871..b03d2fa1 100644 --- a/lib/src/event_arrangers/event_arrangers.dart +++ b/lib/src/event_arrangers/event_arrangers.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'dart:math' as math; import '../calendar_event_data.dart'; diff --git a/lib/src/event_arrangers/merge_event_arranger.dart b/lib/src/event_arrangers/merge_event_arranger.dart index 2fdedc18..f7784198 100644 --- a/lib/src/event_arrangers/merge_event_arranger.dart +++ b/lib/src/event_arrangers/merge_event_arranger.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + part of 'event_arrangers.dart'; class MergeEventArranger extends EventArranger { diff --git a/lib/src/event_arrangers/side_event_arranger.dart b/lib/src/event_arrangers/side_event_arranger.dart index a47e853a..890ea35e 100644 --- a/lib/src/event_arrangers/side_event_arranger.dart +++ b/lib/src/event_arrangers/side_event_arranger.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + part of 'event_arrangers.dart'; class SideEventArranger extends EventArranger { diff --git a/lib/src/event_controller.dart b/lib/src/event_controller.dart index 273448f0..c212ba68 100644 --- a/lib/src/event_controller.dart +++ b/lib/src/event_controller.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import 'calendar_event_data.dart'; diff --git a/lib/src/extensions.dart b/lib/src/extensions.dart index 4972a5ad..1df5a79c 100644 --- a/lib/src/extensions.dart +++ b/lib/src/extensions.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import 'enumerations.dart'; diff --git a/lib/src/modals.dart b/lib/src/modals.dart index d20db1aa..a1f09367 100644 --- a/lib/src/modals.dart +++ b/lib/src/modals.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; /// Settings for hour lines diff --git a/lib/src/month_view/month_view.dart b/lib/src/month_view/month_view.dart index 473c15c6..9ea16a6d 100644 --- a/lib/src/month_view/month_view.dart +++ b/lib/src/month_view/month_view.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import '../calendar_constants.dart'; diff --git a/lib/src/painters.dart b/lib/src/painters.dart index 6db6664e..8b5f0915 100644 --- a/lib/src/painters.dart +++ b/lib/src/painters.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import 'constants.dart'; diff --git a/lib/src/typedefs.dart b/lib/src/typedefs.dart index b2def532..a3a8a53d 100644 --- a/lib/src/typedefs.dart +++ b/lib/src/typedefs.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import 'calendar_event_data.dart'; diff --git a/lib/src/week_view/_internal_week_view_page.dart b/lib/src/week_view/_internal_week_view_page.dart index 542a8955..f7f2ddbe 100644 --- a/lib/src/week_view/_internal_week_view_page.dart +++ b/lib/src/week_view/_internal_week_view_page.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/material.dart'; import '../components/_internal_components.dart'; diff --git a/lib/src/week_view/week_view.dart b/lib/src/week_view/week_view.dart index d537f43b..3ad7ce15 100644 --- a/lib/src/week_view/week_view.dart +++ b/lib/src/week_view/week_view.dart @@ -1,3 +1,7 @@ +// Copyright (c) 2021 Simform Solutions. All rights reserved. +// Use of this source code is governed by a MIT-style license +// that can be found in the LICENSE file. + import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index 8244ed4b..8bfff101 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: calendar_view -description: A new Flutter project. -version: 0.0.1 +description: A Flutter package allows you to easily implement all calendar UI and calendar event functionality. +version: 0.0.2 homepage: https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view issue_tracker: https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues diff --git a/readme_assets/demo.gif b/readme_assets/demo.gif new file mode 100644 index 00000000..b81d19b7 Binary files /dev/null and b/readme_assets/demo.gif differ diff --git a/readme_assets/team_banner.png b/readme_assets/team_banner.png deleted file mode 100644 index a1b8a8e4..00000000 Binary files a/readme_assets/team_banner.png and /dev/null differ