Skip to content

Instantly share code, notes, and snippets.

@theindianappguy
Created May 18, 2020 16:10
Show Gist options
  • Save theindianappguy/6248e3df95d93c185573f70ee4efe82f to your computer and use it in GitHub Desktop.
Save theindianappguy/6248e3df95d93c185573f70ee4efe82f to your computer and use it in GitHub Desktop.
Widget brandName() {
return Row(
mainAxisAlignment: MainAxisAlignment.center,
mainAxisSize : MainAxisSize.min
children: <Widget>[
Text(
"Wallpaper",
style: TextStyle(color: Colors.black87, fontFamily: 'Overpass'),
),
Text(
"Hub",
style: TextStyle(color: Colors.blue, fontFamily: 'Overpass'),
)
],
);
}
@lkmandy
Copy link

lkmandy commented Oct 6, 2021

A quick little fix
Please add a comma at the end of line 4 to avoid syntax errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment