Compare commits
2 Commits
7d8f813b59
...
b7cf38c649
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b7cf38c649 | ||
|
|
ceb9610bca |
@@ -1,5 +1,4 @@
|
|||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:http/http.dart' as http;
|
import 'package:http/http.dart' as http;
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class DashboardScreen extends StatefulWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class _DashboardScreenState extends State<DashboardScreen> {
|
class _DashboardScreenState extends State<DashboardScreen> {
|
||||||
static const _surpriseThreshold = 0.2; // G threshold for navigator surprise
|
static const _surpriseThreshold = 0.3; // G threshold for navigator surprise
|
||||||
|
|
||||||
final _navigatorKey = GlobalKey<NavigatorWidgetState>();
|
final _navigatorKey = GlobalKey<NavigatorWidgetState>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user