Improving the snippets on AppBar class doc #24885
Labels
d: api docs
Issues with https://api.flutter.dev/
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
AppBar/actions doc on master docs has 'Sample in an App' tab, but the current example is not really complete.
The 'actions' keyword imply interactivity, but because its
onPressed: (){}
property is empty, at least 3 participants in the recent user study spent long time searching for its example, even though they had this snippet in hand.Can we make it extend
StatefulWidget
like the one in IconButton class and have an actual action associated with it?This complete app can be added to the AppBar class as well, which is currently empty!
Cc: @galeyang, @gspencergoog @InMatrix
The text was updated successfully, but these errors were encountered: