diff --git a/CHANGELOG.md b/CHANGELOG.md index 25539436f8..4afb1a0e98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.4 + +* Update the example app: remove the deprecated `RaisedButton` and `FlatButton` widgets. + ## 1.0.3 * Fix outdated links across a number of markdown files ([#3276](https://github.com/flutter/plugins/pull/3276)) diff --git a/example/lib/main.dart b/example/lib/main.dart index a238ca3bf8..597ab563ae 100755 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -111,11 +111,11 @@ class SignInDemoState extends State { ), const Text('Signed in successfully.'), Text(_contactText ?? ''), - RaisedButton( + ElevatedButton( child: const Text('SIGN OUT'), onPressed: _handleSignOut, ), - RaisedButton( + ElevatedButton( child: const Text('REFRESH'), onPressed: _handleGetContact, ), @@ -126,7 +126,7 @@ class SignInDemoState extends State { mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ const Text('You are not currently signed in.'), - RaisedButton( + ElevatedButton( child: const Text('SIGN IN'), onPressed: _handleSignIn, ), diff --git a/pubspec.yaml b/pubspec.yaml index aecd5a9569..9da5f0baa8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -6,7 +6,7 @@ name: extension_google_sign_in_as_googleapis_auth description: A bridge package between google_sign_in and googleapis_auth, to create Authenticated Clients from google_sign_in user credentials. -version: 1.0.3 +version: 1.0.4 homepage: https://github.com/flutter/plugins/google_sign_in/extension_google_sign_in_as_googleapis_auth dependencies: