Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SupplyDeck Consumer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-126
SupplyDeck Consumer
Commits
afe8572e
Commit
afe8572e
authored
Nov 14, 2022
by
@ashan_IT19063560
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reviews section updated
parent
f4facb35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
30 deletions
+41
-30
lib/pages/first.dart
lib/pages/first.dart
+18
-8
pubspec.lock
pubspec.lock
+22
-22
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
lib/pages/first.dart
View file @
afe8572e
...
...
@@ -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
,
),
],
),
),
...
...
pubspec.lock
View file @
afe8572e
...
...
@@ -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.1
5
.0"
version: "1.1
6
.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.1
1
"
version: "0.12.1
2
"
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.1
6.1
<3.0.0"
dart: ">=2.1
7.0-0
<3.0.0"
flutter: ">=2.10.0"
pubspec.yaml
View file @
afe8572e
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment