Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
devoncarew committed Mar 30, 2016
1 parent d45afe0 commit 1e15afd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions example/flutter_example/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions example/flutter_example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Future main() async {
class FlutterDemo extends StatefulWidget {
FlutterDemo(this.ga);
Analytics ga;
@override
State createState() => new _FlutterDemoState();
}

Expand All @@ -41,6 +42,7 @@ class _FlutterDemoState extends State<FlutterDemo> {
});
}

@override
Widget build(BuildContext context) {
return new Scaffold(
appBar: new AppBar(
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1e15afd

Please sign in to comment.