Skip to content

Instantly share code, notes, and snippets.

@ijoschek ijoschek/.\lib\newPage.dart Secret
Last active Apr 7, 2019

Embed
What would you like to do?
flutter_nav_tut
import 'package:flutter_app_nav_test/getBackString.dart';
// ...
class _NewPageState extends State<NewPage> {
// ...
String status = "No string here";
void clickGetBackString() async {
status = await Navigator.push<String>(
context,
MaterialPageRoute(
builder: (BuildContext context) => GetBackStringPage()));
}
// ...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.