Unverified Commit 563afe38 authored by Hans Muller's avatar Hans Muller Committed by GitHub

Updated obsolte button references in Scaffold, IconButton (#61578)

parent d90a2464
......@@ -124,7 +124,7 @@ const double _kMinButtonSize = kMinInteractiveDimension;
/// current platform's conventions.
/// * [CloseButton], an icon button for closing pages.
/// * [AppBar], to show a toolbar at the top of an application.
/// * [RaisedButton] and [FlatButton], for buttons with text in them.
/// * [TextButton], [ElevatedButton], [OutlinedButton], for buttons with text labels and an optional icon.
/// * [InkResponse] and [InkWell], for the ink splash effect itself.
class IconButton extends StatelessWidget {
/// Creates an icon button.
......
......@@ -1681,7 +1681,7 @@ class ScaffoldState extends State<Scaffold> with TickerProviderStateMixin {
///
/// ```dart
/// Widget build(BuildContext context) {
/// return OutlineButton(
/// return OutlinedButton(
/// onPressed: () {
/// Scaffold.of(context).showSnackBar(
/// SnackBar(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment