feat(dependency): add Provider library

This commit is contained in:
Liat Ben-Haim 2024-03-10 15:30:28 +01:00
parent 1f110a8d0e
commit 90d1d58c50
3 changed files with 20 additions and 4 deletions

View file

@ -21,10 +21,10 @@ class DataEntryPage extends StatelessWidget {
Expanded( Expanded(
child: ElevatedButton( child: ElevatedButton(
onPressed: () {}, onPressed: () {},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
shape: CircleBorder(), shape: CircleBorder(),
padding: EdgeInsets.all(24), padding: EdgeInsets.all(24),
), ),
child: const Icon(Icons.error_outline, size: 120,), child: const Icon(Icons.error_outline, size: 120,),
), ),
), ),

View file

@ -102,6 +102,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.0"
nested:
dependency: transitive
description:
name: nested
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
path: path:
dependency: transitive dependency: transitive
description: description:
@ -109,6 +116,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.2" version: "1.8.2"
provider:
dependency: "direct main"
description:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.2"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@ -165,3 +179,4 @@ packages:
version: "2.1.2" version: "2.1.2"
sdks: sdks:
dart: ">=2.18.2 <3.0.0" dart: ">=2.18.2 <3.0.0"
flutter: ">=1.16.0"

View file

@ -36,6 +36,7 @@ dependencies:
# The following adds the Cupertino Icons font to your application. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
provider: ^6.1.2
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: