From 90d1d58c50a925bf500db35ffdf05d359ba0ceba Mon Sep 17 00:00:00 2001 From: Liat Ben-Haim Date: Sun, 10 Mar 2024 15:30:28 +0100 Subject: [PATCH] feat(dependency): add Provider library --- lib/data_entry/view.dart | 8 ++++---- pubspec.lock | 15 +++++++++++++++ pubspec.yaml | 1 + 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/data_entry/view.dart b/lib/data_entry/view.dart index 5a5cad6..9aa83c2 100644 --- a/lib/data_entry/view.dart +++ b/lib/data_entry/view.dart @@ -21,10 +21,10 @@ class DataEntryPage extends StatelessWidget { Expanded( child: ElevatedButton( onPressed: () {}, - style: ElevatedButton.styleFrom( - shape: CircleBorder(), - padding: EdgeInsets.all(24), - ), + style: ElevatedButton.styleFrom( + shape: CircleBorder(), + padding: EdgeInsets.all(24), + ), child: const Icon(Icons.error_outline, size: 120,), ), ), diff --git a/pubspec.lock b/pubspec.lock index 891aa14..866b8e4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -102,6 +102,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0" + nested: + dependency: transitive + description: + name: nested + url: "https://pub.dartlang.org" + source: hosted + version: "1.0.0" path: dependency: transitive description: @@ -109,6 +116,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.2" + provider: + dependency: "direct main" + description: + name: provider + url: "https://pub.dartlang.org" + source: hosted + version: "6.1.2" sky_engine: dependency: transitive description: flutter @@ -165,3 +179,4 @@ packages: version: "2.1.2" sdks: dart: ">=2.18.2 <3.0.0" + flutter: ">=1.16.0" diff --git a/pubspec.yaml b/pubspec.yaml index 853b81e..71c959e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -36,6 +36,7 @@ dependencies: # The following adds the Cupertino Icons font to your application. # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 + provider: ^6.1.2 dev_dependencies: flutter_test: