Skip to content

Commit 2337d40

Browse files
🌹 Avoid deprecated RaisedButton in example (#75)
1 parent 22770b2 commit 2337d40

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class _MyAppState extends State<MyApp> {
115115
children: <Widget>[
116116
Text('Status: $_status\n'),
117117
const SizedBox(height: 80),
118-
RaisedButton(
118+
ElevatedButton(
119119
child: Text('Authenticate'),
120120
onPressed: () { this.authenticate(); },
121121
),

example/pubspec.lock

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.6.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -141,7 +141,7 @@ packages:
141141
name: test_api
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "0.2.19"
144+
version: "0.3.0"
145145
typed_data:
146146
dependency: transitive
147147
description:
@@ -158,3 +158,4 @@ packages:
158158
version: "2.1.0"
159159
sdks:
160160
dart: ">=2.12.0 <3.0.0"
161+
flutter: ">=2.0.0"

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.6.1"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -127,7 +127,7 @@ packages:
127127
name: test_api
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "0.2.19"
130+
version: "0.3.0"
131131
typed_data:
132132
dependency: transitive
133133
description:

0 commit comments

Comments
 (0)