-
-
Save munificent/7c781e0f6740c5ffd20c19fcb09b4194 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Widget build(BuildContext context) { | |
var children = [ | |
IconButton(icon: Icon(Icons.menu)), | |
Expanded(child: title) | |
]; | |
if (!isAndroid) { | |
children.add(IconButton(icon: Icon(Icons.search))); | |
} | |
return Row(children: children); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment