Update obsolete button refs in plugin examples (#3395)

This commit is contained in:
Hans Muller
2021-01-07 14:47:38 -08:00
committed by GitHub
parent 90adf9572c
commit a77819ff5b
3 changed files with 8 additions and 4 deletions

View File

@ -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))

View File

@ -111,11 +111,11 @@ class SignInDemoState extends State<SignInDemo> {
),
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<SignInDemo> {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: <Widget>[
const Text('You are not currently signed in.'),
RaisedButton(
ElevatedButton(
child: const Text('SIGN IN'),
onPressed: _handleSignIn,
),

View File

@ -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: