Julian Steenbakker

style: dart fix

... ... @@ -47,9 +47,9 @@ class _BarcodeScannerReturningImageState
fit: BoxFit.contain,
),
)
: Container(
: const ColoredBox(
color: Colors.white,
child: const Center(
child: Center(
child: Text(
'Your scanned barcode will appear here!',
),
... ... @@ -85,7 +85,7 @@ class _BarcodeScannerReturningImageState
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Container(
ColoredBox(
color: arguments != null && !arguments!.hasTorch
? Colors.red
: Colors.white,
... ...
... ... @@ -12,13 +12,12 @@ dependencies:
sdk: flutter
flutter_web_plugins:
sdk: flutter
json_serializable: ^6.3.1
js: ^0.6.3
dev_dependencies:
build_runner: ^2.2.0
flutter_test:
sdk: flutter
json_annotation: ^4.6.0
lint: ^1.10.0
flutter:
... ...