Commit 01ac75f5 authored by Seth Ladd's avatar Seth Ladd Committed by GitHub

Callback wasn't clear what the type of the function was (#8712)

Changing to an inline function, making the type more clear.
parent 16d800b2
......@@ -686,7 +686,9 @@ class SliverAppBar extends StatelessWidget {
/// new IconButton(
/// icon: new Icon(Icons.shopping_cart),
/// tooltip: 'Open shopping cart',
/// onPressed: _openCart,
/// onPressed: () {
/// // handle the press
/// },
/// ),
/// ],
/// ),
......
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