-
-
Save munificent/6844b1878f54468b99d6b4b760f75582 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) { | |
return Row( | |
children: [ | |
IconButton(icon: Icon(Icons.menu)), | |
Expanded(child: title), | |
!isAndroid ? IconButton(icon: Icon(Icons.search)) : null, | |
].where((widget) => widget != null).toList(), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment