--You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Override MainActivity.onBackPressed with an empty method?
On Mon, Dec 11, 2017 at 10:43 AM, Michael Tawiah Sowah <michael...@gmail.com> wrote:
thanks and how about disabling the hardware back button completely for the entire app--
On Monday, December 11, 2017 at 9:13:39 AM UTC, mr...@google.com wrote:I am not aware of this functionality being exposed through the Flutter SDK (I may be wrong).If I'm right, you need to write platform-specific code. E.g. add[[UIApplication sharedApplication] setIdleTimerDisabled:YES];to your AppDelegate.m and
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);to your MainActivity.java.
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks so much... How do pass data through Navigator.of(context).pushNamed('/conta')
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.
Ian Hickson
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev+unsubscribe@googlegroups.com.