Skip to content

Commit 5f024b7

Browse files
committed
Update to recommended Dart 2 constraint sdk: '>=2.0.0-dev.61.0 <3.0.0'
1 parent 4cf3543 commit 5f024b7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ To make API calls we need to use the `JsonServiceClient`, installed by adding th
2929

3030
```yaml
3131
dependencies:
32-
servicestack: "^1.0.2"
32+
servicestack: ^1.0.3
3333
```
3434
3535
Saving `pubspec.yaml` in VS Code with the [Dart Code Extension](https://dartcode.org) automatically calls `pub get` or `flutter packages get` (in Flutter projects) to add any new dependencies to your project.
@@ -181,8 +181,10 @@ This creates a basic Flutter App which you can run in your Android Device or And
181181

182182
Then to use `JsonServiceClient` add the `servicestack` dependency to your apps [pubspec.yaml](https://github.com/ServiceStackApps/HelloFlutter/blob/master/pubspec.yaml):
183183

184-
dependencies:
185-
servicestack: "^1.0.2"
184+
```yaml
185+
dependencies:
186+
servicestack: ^1.0.3
187+
```
186188

187189
Saving `pubspec.yaml` automatically runs [flutter packages get](https://flutter.io/using-packages/) to install any new dependencies in your App.
188190

pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: servicestack
2-
version: 1.0.2
2+
version: 1.0.3
33
author: ServiceStack, Inc <[email protected]>
44
description: ServiceStack's convenience utils for developing Dart VM and flutter apps. Integrates with ServiceStack's Server features including ServiceClient, Error Handling and Validation
55
homepage: https://github.com/ServiceStack/servicestack-dart
66
environment:
7-
sdk: '>=2.0.0 <3.0.0'
7+
sdk: '>=2.0.0-dev.61.0 <3.0.0'
88
dependencies:
99
http: "^0.11.3+16"
1010
dev_dependencies:

0 commit comments

Comments
 (0)