Created
June 11, 2019 20:34
-
-
Save ptyagicodecamp/fb9be9f648ec15f861978459ec4faee6 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
class Header { | |
... | |
//Builds navigation links at the right top of landing page | |
Widget buildHeaderLinks(BuildContext context) { | |
if (!ResponsiveWidget.isSmallScreen(context)) | |
return Row( | |
mainAxisAlignment: MainAxisAlignment.spaceAround, | |
children: getLinksListing()..add(buildLoginButton()), | |
); | |
else | |
return Image.network("assets/menu.png", width: 25, height: 25); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment