Skip to content

Commit 32005df

Browse files
committed
Update pubspec.yaml
Add plugin flutter_svg. Add asset svg and translations.
1 parent 47d7674 commit 32005df

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

pubspec.lock

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,13 @@ packages:
375375
description: flutter
376376
source: sdk
377377
version: "0.0.0"
378+
flutter_svg:
379+
dependency: "direct main"
380+
description:
381+
name: flutter_svg
382+
url: "https://pub.dartlang.org"
383+
source: hosted
384+
version: "1.1.0"
378385
flutter_test:
379386
dependency: "direct dev"
380387
description: flutter
@@ -560,6 +567,20 @@ packages:
560567
url: "https://pub.dartlang.org"
561568
source: hosted
562569
version: "1.8.1"
570+
path_drawing:
571+
dependency: transitive
572+
description:
573+
name: path_drawing
574+
url: "https://pub.dartlang.org"
575+
source: hosted
576+
version: "1.0.0"
577+
path_parsing:
578+
dependency: transitive
579+
description:
580+
name: path_parsing
581+
url: "https://pub.dartlang.org"
582+
source: hosted
583+
version: "1.0.0"
563584
path_provider_linux:
564585
dependency: transitive
565586
description:
@@ -952,4 +973,4 @@ packages:
952973
version: "3.1.1"
953974
sdks:
954975
dart: ">=2.17.0 <3.0.0"
955-
flutter: ">=2.10.0"
976+
flutter: ">=2.11.0-0.1.pre"

pubspec.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,13 @@ dependencies:
5858
# such as CFBundleVersion on iOS or versionCode on Android.
5959
package_info: ^2.0.2
6060

61-
# Easily configure any flutter application with globa variables using a `.env` file
61+
# Easily configure any flutter application with global variables using a `.env` file
6262
flutter_dotenv: ^5.0.2
6363

64+
# An SVG rendering and widget library for Flutter, which allows painting and displaying
65+
# Scalable Vector Graphics 1.1 files.
66+
flutter_svg: ^1.1.0
67+
6468
dev_dependencies:
6569
flutter_test:
6670
sdk: flutter
@@ -92,6 +96,9 @@ flutter:
9296
# assets:
9397
# - images/a_dot_burr.jpeg
9498
# - images/a_dot_ham.jpeg
99+
assets:
100+
- assets/svg/
101+
- assets/translations/
95102

96103
# To add custom fonts to your application, add a fonts section here,
97104
# in this "flutter" section. Each entry in this list should have a

0 commit comments

Comments
 (0)