From c25220e94b27a68b40854cfdeb9864c9f58e841d Mon Sep 17 00:00:00 2001 From: FatulM Date: Mon, 17 Dec 2018 21:59:55 +0330 Subject: [PATCH] FIXED example --- example/lib/main.dart | 2 +- example/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 2107aef..4043a2b 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -15,7 +15,7 @@ class MyHomePage extends StatefulWidget { class _MyHomePageState extends State { static final now = DateTime.now(); - static final g = Gregorian(year: now.year, month: now.month, day: now.day); + static final g = Gregorian(now.year, now.month, now.day); @override Widget build(BuildContext context) { diff --git a/example/pubspec.yaml b/example/pubspec.yaml index c5b1e11..1a7333c 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -9,7 +9,7 @@ dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 - shamsi_date: ^0.1.1 + shamsi_date: ^0.2.0 dev_dependencies: flutter_test: