Merge pull request #68 from dart-lang/2.0.0
2.0.0
diff --git a/changelog.md b/changelog.md
index 6b33658..5343a35 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,6 +1,6 @@
# Changelog
-## unreleased
+## 2.0.0
- added a `usage` implementation for Flutter (uses conditional directives)
- removed `lib/usage_html.dart`; use the new Analytics.create() static method
- removed `lib/usage_io.dart`; use the new Analytics.create() static method
diff --git a/example/flutter_example/README.md b/example/flutter_example/README.md
index 1661257..7608a60 100644
--- a/example/flutter_example/README.md
+++ b/example/flutter_example/README.md
@@ -1,7 +1,7 @@
-Example of usage package with Flutter
-=====================================
+# Example of usage package with Flutter
-To run the Flutter example, ensure that the pubspec.yaml points to your Flutter path. Then run
+To run the Flutter example, ensure that the pubspec.yaml points to your Flutter
+path. Then run:
```
pub get
diff --git a/example/flutter_example/lib/main.dart b/example/flutter_example/lib/main.dart
index 6dd1b04..9a34065 100644
--- a/example/flutter_example/lib/main.dart
+++ b/example/flutter_example/lib/main.dart
@@ -22,6 +22,7 @@
class FlutterDemo extends StatefulWidget {
FlutterDemo(this.ga);
Analytics ga;
+ @override
State createState() => new _FlutterDemoState();
}
@@ -41,6 +42,7 @@
});
}
+ @override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
diff --git a/pubspec.yaml b/pubspec.yaml
index 7a02fad..1e6d3e0 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.
name: usage
-version: 2.0.0-dev
+version: 2.0.0
description: A Google Analytics wrapper for both command-line, web, and Flutter apps.
homepage: https://github.com/dart-lang/usage
author: Dart Team <misc@dartlang.org>