This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/main.dart b/lib/main.dart | |
index 439d0fb..fafcf3a 100644 | |
--- a/lib/main.dart | |
+++ b/lib/main.dart | |
@@ -27,6 +27,9 @@ class MyStatefulWidget extends StatefulWidget { | |
class _MyStatefulWidgetState extends State<MyStatefulWidget> { | |
var isSameAddress = true; | |
+ final billingAddress1Key = UniqueKey(); | |
+ final billingAddress2Key = UniqueKey(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/main.dart b/lib/main.dart | |
index 526ac61..439d0fb 100644 | |
--- a/lib/main.dart | |
+++ b/lib/main.dart | |
@@ -31,11 +31,11 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> { | |
// has been removed | |
@override | |
- Widget build(BuildContext context) => ListView( | |
+ Widget build(BuildContext context) => AutofillGroup( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/main.dart b/lib/main.dart | |
index 4f1704b..526ac61 100644 | |
--- a/lib/main.dart | |
+++ b/lib/main.dart | |
@@ -65,15 +65,18 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> { | |
}, | |
), | |
if (!isSameAddress) | |
- Column( | |
+ AutofillGroup( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/main.dart b/lib/main.dart | |
index ae75939..4f1704b 100644 | |
--- a/lib/main.dart | |
+++ b/lib/main.dart | |
@@ -33,6 +33,9 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> { | |
@override | |
Widget build(BuildContext context) => ListView( | |
padding: EdgeInsets.symmetric(horizontal: 16), | |
+ children: [ | |
+ AutofillGroup( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/main.dart b/lib/main.dart | |
index 1460ece..ae75939 100644 | |
--- a/lib/main.dart | |
+++ b/lib/main.dart | |
@@ -35,12 +35,14 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> { | |
padding: EdgeInsets.symmetric(horizontal: 16), | |
children: [ | |
TextFormField( | |
+ autofillHints: [AutofillHints.streetAddressLine1], | |
decoration: const InputDecoration( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/services.dart'; | |
void main() => runApp(MyApp()); | |
/// This Widget is the main application widget. | |
class MyApp extends StatelessWidget { | |
static const String _title = 'Flutter Code Sample'; | |
@override |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() async { | |
final then = DateTime.now(); | |
print(then); | |
final r = await compute(veryLongRunningCpuBoundFunction, 10); | |
final now = DateTime.now(); | |
print('${now.difference(then)} later, the result is $r'); | |
} | |
int veryLongRunningCpuBoundFunction(int param) { | |
for (var i = 0; i < param; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/build.gradle b/app/build.gradle | |
index d1b7792..dd96f56 100644 | |
--- a/app/build.gradle | |
+++ b/app/build.gradle | |
@@ -47,3 +47,15 @@ dependencies { | |
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4' | |
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4' | |
} | |
+ | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_script: | |
- export GOPATH=$(pwd) | |
stages: | |
- build | |
- test | |
- deploy | |
validate-schema: | |
image: truongsinh/pg-client:9.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (var index = 0; index < numDetections; index++) { | |
String detectedClass = localLabels[outputClasses[index].toInt()]; | |
final top = max(0.0, outputLocations[index * 4 + 0]); | |
final left = max(0.0, outputLocations[index * 4 + 1]); | |
final bottom = min(1.0, outputLocations[index * 4 + 2]); | |
final right = min(1.0, outputLocations[index * 4 + 3]); | |
final thisSesult = DetectionResult( | |
rect: Rect.fromLTRB(left, top, right, bottom), |
NewerOlder