Skip to content

Instantly share code, notes, and snippets.

@namchuai
Created August 19, 2018 14:28
Show Gist options
  • Select an option

  • Save namchuai/64ea7babed0b5e35ca089e14e1186fdc to your computer and use it in GitHub Desktop.

Select an option

Save namchuai/64ea7babed0b5e35ca089e14e1186fdc to your computer and use it in GitHub Desktop.
import 'dart:io' show Platform;
...
var horizontalTitleAlignment = Platform.isIOS
? CrossAxisAlignment.center
: CrossAxisAlignment.start;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment