Skip to content

Instantly share code, notes, and snippets.

@override
Future ngOnInit() async {
showLoadingDialog = true;
String socketPath = await _service.startInteractiveMode();
if (socketPath == null) {
// print('logging out.');
_router.navigate(['Welcome']);
return;
}
Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install...
Running Xcode clean...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
** BUILD FAILED **
@NickWu007
NickWu007 / menu_list_item.dart
Last active April 10, 2018 22:31
Flutter challenge 3 MenuListItem alternative
class MenuListItem extends StatelessWidget {
final String title;
final bool isSelected;
final Function onTap;
MenuListItem({this.title, this.isSelected, this.onTap});
@override
Widget build(BuildContext context) {
return new InkWell(