Commit afe8572e authored by @ashan_IT19063560's avatar @ashan_IT19063560

reviews section updated

parent f4facb35
......@@ -2,6 +2,8 @@ import 'dart:io';
import 'package:barcode_widget/barcode_widget.dart';
import 'package:flutter/material.dart';
import 'package:google_nav_bar/google_nav_bar.dart';
import 'package:supplydeck_consumer/pages/qr_home.dart';
class First extends StatefulWidget {
@override
......@@ -16,11 +18,19 @@ class _FirstState extends State<First> {
@override
Widget build(BuildContext context) {
return Scaffold(
bottomNavigationBar: GNav(
gap: 8,
tabs: [
GButton(icon: Icons.home, text: 'Home'),
GButton(icon: Icons.scanner, text: 'Scanner'),
GButton(icon: Icons.store, text: 'Store'),
GButton(icon: Icons.settings, text: 'Settings'),
],
),
body: Center(
child: SingleChildScrollView(
child: Column(
children: [
Padding(
padding: EdgeInsets.all(35),
child: Container(
......@@ -52,13 +62,13 @@ class _FirstState extends State<First> {
code == ''
? Text('')
: BarcodeWidget(
barcode: Barcode.qrCode(
errorCorrectLevel: BarcodeQRCorrectionLevel.high,
),
data: '$code',
width: 200,
height: 200,
),
barcode: Barcode.qrCode(
errorCorrectLevel: BarcodeQRCorrectionLevel.high,
),
data: '$code',
width: 200,
height: 200,
),
],
),
),
......
......@@ -14,7 +14,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.8.2"
version: "2.9.0"
barcode:
dependency: transitive
description:
......@@ -42,28 +42,21 @@ packages:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "1.2.1"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.1.1"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0"
version: "1.16.0"
crypto:
dependency: transitive
description:
......@@ -84,7 +77,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
flutter:
dependency: "direct main"
description: flutter
......@@ -109,6 +102,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
google_nav_bar:
dependency: "direct main"
description:
name: google_nav_bar
url: "https://pub.dartlang.org"
source: hosted
version: "5.0.6"
lints:
dependency: transitive
description:
......@@ -129,21 +129,21 @@ packages:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
version: "0.12.12"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
version: "0.1.5"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
version: "1.8.0"
native_device_orientation:
dependency: transitive
description:
......@@ -157,7 +157,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.2"
qr:
dependency: transitive
description:
......@@ -176,7 +176,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.9.0"
stack_trace:
dependency: transitive
description:
......@@ -197,21 +197,21 @@ packages:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.1.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.2.1"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.8"
version: "0.4.12"
typed_data:
dependency: transitive
description:
......@@ -225,7 +225,7 @@ packages:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
version: "2.1.2"
sdks:
dart: ">=2.16.1 <3.0.0"
dart: ">=2.17.0-0 <3.0.0"
flutter: ">=2.10.0"
......@@ -37,6 +37,7 @@ dependencies:
barcode_widget: ^2.0.2
flutter_qr_bar_scanner: ^3.0.2
lottie: ^1.2.2
google_nav_bar: ^5.0.6
dev_dependencies:
flutter_test:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment