diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3863f36..f48beed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,11 @@
All notable changes to this project will be documented in this file.
+## 1.2.2
+
+- **Change**: Removed unnecessary dependencies.
+- **Fix**: All known bugs and issues fixed.
+
## 1.2.1
- **Documentation**: Updated documentation.
diff --git a/example/lib/main.dart b/example/lib/main.dart
index 1103974..4b48aa7 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -12,11 +12,13 @@ class MyApp extends StatelessWidget {
title: 'GetTimeAgo Example',
debugShowCheckedModeBanner: false,
theme: ThemeData(
- visualDensity: VisualDensity.adaptivePlatformDensity,
- brightness: Brightness.light),
+ visualDensity: VisualDensity.adaptivePlatformDensity,
+ brightness: Brightness.light,
+ ),
darkTheme: ThemeData(
- visualDensity: VisualDensity.adaptivePlatformDensity,
- brightness: Brightness.dark),
+ visualDensity: VisualDensity.adaptivePlatformDensity,
+ brightness: Brightness.dark,
+ ),
home: HomePage(),
);
}
diff --git a/example/pubspec.yaml b/example/pubspec.yaml
index 502eaeb..55ba975 100644
--- a/example/pubspec.yaml
+++ b/example/pubspec.yaml
@@ -4,7 +4,7 @@ description: Demonstrates how to use the get_time_ago plugin.
publish_to: 'none'
environment:
- sdk: ">=2.12.0 <3.0.0"
+ sdk: ">=2.18.0 <3.0.0"
dependencies:
flutter:
diff --git a/example/web/index.html b/example/web/index.html
index ab2e42e..659c877 100644
--- a/example/web/index.html
+++ b/example/web/index.html
@@ -19,8 +19,8 @@
diff --git a/pubspec.yaml b/pubspec.yaml
index d90df8d..944bc3f 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: get_time_ago
description: A Flutter package to convert and format `DateTime` object into `get_time_ago` format to get String like `10 seconds ago`, `a minute ago`, `7 hours ago`, etc.
-version: 1.2.1
+version: 1.2.2
homepage: https://github.com/nixrajput
repository: https://github.com/nixrajput/get-time-ago
issue_tracker: https://github.com/nixrajput/get-time-ago/issues