Skip to content

Commit

Permalink
build: Move fluttertoast dependency to example (#88)
Browse files Browse the repository at this point in the history
Fluttertoast is only used in the example, but not in the library itself.
  • Loading branch information
Mr-Pepe authored Jun 6, 2024
1 parent 13e3dd3 commit 3d3a093
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ packages:
source: sdk
version: "0.0.0"
fluttertoast:
dependency: transitive
dependency: "direct main"
description:
name: fluttertoast
sha256: "7eae679e596a44fdf761853a706f74979f8dd3cd92cf4e23cae161fda091b847"
Expand Down
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ environment:
dependencies:
flutter:
sdk: flutter
fluttertoast: ^8.2.6

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
Expand Down
13 changes: 0 additions & 13 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -203,19 +203,6 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
fluttertoast:
dependency: "direct main"
description:
name: fluttertoast
sha256: "7eae679e596a44fdf761853a706f74979f8dd3cd92cf4e23cae161fda091b847"
url: "https://pub.dev"
source: hosted
version: "8.2.6"
frontend_server_client:
dependency: transitive
description:
Expand Down
1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ environment:
dependencies:
flutter:
sdk: flutter
fluttertoast: ^8.0.8
http: ^1.1.2
provider: ^6.0.5
svg_path_parser: ^1.0.0
Expand Down

0 comments on commit 3d3a093

Please sign in to comment.