Skip to content

Commit 2d859a5

Browse files
authored
Merge pull request #11 from ce-akhil/patch-1
Update main.dart
2 parents 59c40ca + f304d58 commit 2d859a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

example/lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class MyHomePage extends StatefulWidget {
2525
}
2626

2727
class _MyHomePageState extends State<MyHomePage> {
28-
String barcode = 'Tap on button to scan';
28+
String barcode = 'Tap to scan';
2929
@override
3030
Widget build(BuildContext context) {
3131
return Scaffold(
3232
appBar: AppBar(
33-
title: const Text('Barcode Scanner'),
33+
title: const Text(' Scanner'),
3434
),
3535
body: Center(
3636
child: Column(
@@ -42,7 +42,7 @@ class _MyHomePageState extends State<MyHomePage> {
4242
await Navigator.of(context).push(
4343
MaterialPageRoute(
4444
builder: (context) => AiBarcodeScanner(
45-
validateText: 'https://',
45+
validateText: 'https://', // link to be validated
4646
validateType: ValidateType.startsWith,
4747
onScan: (String value) {
4848
debugPrint(value);

0 commit comments

Comments
 (0)