@@ -1111,7 +1111,7 @@ class Scaffold extends StatefulWidget {
1111
1111
1112
1112
/// A set of buttons that are displayed at the bottom of the scaffold.
1113
1113
///
1114
- /// Typically this is a list of [FlatButton ] widgets. These buttons are
1114
+ /// Typically this is a list of [TextButton ] widgets. These buttons are
1115
1115
/// persistently visible, even if the [body] of the scaffold scrolls.
1116
1116
///
1117
1117
/// These widgets will be wrapped in a [ButtonBar] .
@@ -1153,7 +1153,7 @@ class Scaffold extends StatefulWidget {
1153
1153
/// key: _scaffoldKey,
1154
1154
/// appBar: AppBar(title: const Text('Drawer Demo')),
1155
1155
/// body: Center(
1156
- /// child: RaisedButton (
1156
+ /// child: ElevatedButton (
1157
1157
/// onPressed: _openDrawer,
1158
1158
/// child: const Text('Open Drawer'),
1159
1159
/// ),
@@ -1164,7 +1164,7 @@ class Scaffold extends StatefulWidget {
1164
1164
/// mainAxisAlignment: MainAxisAlignment.center,
1165
1165
/// children: <Widget>[
1166
1166
/// const Text('This is the Drawer'),
1167
- /// RaisedButton (
1167
+ /// ElevatedButton (
1168
1168
/// onPressed: _closeDrawer,
1169
1169
/// child: const Text('Close Drawer'),
1170
1170
/// ),
@@ -1213,7 +1213,7 @@ class Scaffold extends StatefulWidget {
1213
1213
/// key: _scaffoldKey,
1214
1214
/// appBar: AppBar(title: Text('Drawer Demo')),
1215
1215
/// body: Center(
1216
- /// child: RaisedButton (
1216
+ /// child: ElevatedButton (
1217
1217
/// onPressed: _openEndDrawer,
1218
1218
/// child: Text('Open End Drawer'),
1219
1219
/// ),
@@ -1224,7 +1224,7 @@ class Scaffold extends StatefulWidget {
1224
1224
/// mainAxisAlignment: MainAxisAlignment.center,
1225
1225
/// children: <Widget>[
1226
1226
/// const Text('This is the Drawer'),
1227
- /// RaisedButton (
1227
+ /// ElevatedButton (
1228
1228
/// onPressed: _closeEndDrawer,
1229
1229
/// child: const Text('Close Drawer'),
1230
1230
/// ),
@@ -1386,7 +1386,7 @@ class Scaffold extends StatefulWidget {
1386
1386
/// @override
1387
1387
/// Widget build(BuildContext context) {
1388
1388
/// return Center(
1389
- /// child: RaisedButton (
1389
+ /// child: ElevatedButton (
1390
1390
/// child: Text('SHOW A SNACKBAR'),
1391
1391
/// onPressed: () {
1392
1392
/// Scaffold.of(context).showSnackBar(
@@ -1421,7 +1421,7 @@ class Scaffold extends StatefulWidget {
1421
1421
/// // can refer to the Scaffold with Scaffold.of().
1422
1422
/// builder: (BuildContext context) {
1423
1423
/// return Center(
1424
- /// child: RaisedButton (
1424
+ /// child: ElevatedButton (
1425
1425
/// child: Text('SHOW A SNACKBAR'),
1426
1426
/// onPressed: () {
1427
1427
/// Scaffold.of(context).showSnackBar(SnackBar(
@@ -1966,7 +1966,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
1966
1966
/// ```dart
1967
1967
/// Widget build(BuildContext context) {
1968
1968
/// return Center(
1969
- /// child: RaisedButton (
1969
+ /// child: ElevatedButton (
1970
1970
/// child: const Text('showBottomSheet'),
1971
1971
/// onPressed: () {
1972
1972
/// Scaffold.of(context).showBottomSheet<void>(
@@ -1980,7 +1980,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
1980
1980
/// mainAxisSize: MainAxisSize.min,
1981
1981
/// children: <Widget>[
1982
1982
/// const Text('BottomSheet'),
1983
- /// RaisedButton (
1983
+ /// ElevatedButton (
1984
1984
/// child: const Text('Close BottomSheet'),
1985
1985
/// onPressed: () => Navigator.pop(context),
1986
1986
/// )
0 commit comments