This commit is contained in:
unknown
2023-12-07 13:45:51 +03:30
parent a7f57688a7
commit 6464557956
67 changed files with 456 additions and 275 deletions
+2 -1
View File
@@ -60,11 +60,12 @@ class _TestResultAddScreenState extends State<TestResultAddScreen> {
child: Scaffold(
appBar: AppBar(
titleSpacing: -10,
title: Text('Test Results'),
title: Text('Test Results', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
// padding: EdgeInsets.all(0),
+2 -1
View File
@@ -46,11 +46,12 @@ class _TestDetailsScreenState extends State<TestDetailsScreen> {
child: Scaffold(
appBar: AppBar(
titleSpacing: -10,
title: Text('Test Results'),
title: Text('Test Results', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () => Navigator.of(context).pop(),
+2 -2
View File
@@ -1,5 +1,4 @@
import 'package:barcode_scan2/barcode_scan2.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
@@ -139,11 +138,12 @@ class _TestFilterScreenState extends State<TestFilterScreen> {
child: Scaffold(
appBar: AppBar(
titleSpacing: -10,
title: Text('Test Results'),
title: Text('Test Results', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () => Navigator.of(context).popAndPushNamed(
+5 -2
View File
@@ -74,8 +74,10 @@ class _FormPageState extends State<FormPage> {
setState(() {
_isLoading = true;
});
var providerObject = Provider.of<TestResultsProvider>(context);
String testTypeName = Provider.of<TestResultsProvider>(context).testType;
String testCode = Provider.of<TestResultsProvider>(context).testCode;
providerObject.catchImages.clear();
Provider.of<Inputs>(context, listen: false)
.getInputs(
testResultId: '',
@@ -107,11 +109,11 @@ class _FormPageState extends State<FormPage> {
child: Scaffold(
appBar: AppBar(
centerTitle: true,
title: Text('Add Test Result'),
title: Text('Add Test Result', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
actions: <Widget>[
IconButton(
icon: Icon(Icons.save),
icon: Icon(Icons.save, color: Colors.white,),
onPressed: () {
_saveForm();
},
@@ -120,6 +122,7 @@ class _FormPageState extends State<FormPage> {
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () {
+2 -1
View File
@@ -82,11 +82,12 @@ class _TestResultScreenState extends State<TestResultScreen> {
TestResultFloatingButton(deviceBlockSize: _deviceBlockSize),
appBar: AppBar(
titleSpacing: -10,
title: Text('Home'),
title: Text('Home', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () => Navigator.of(context).pop(),
+2 -1
View File
@@ -30,11 +30,12 @@ class _TestScanScreenState extends State<TestScanScreen> {
child: Scaffold(
appBar: AppBar(
titleSpacing: -10,
title: Text('Test Results'),
title: Text('Test Results', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () => Navigator.of(context).pop(),
+2 -1
View File
@@ -76,11 +76,12 @@ class _TestVerifyScreenState extends State<TestVerifyScreen> {
child: Scaffold(
appBar: AppBar(
titleSpacing: -10,
title: Text('Home'),
title: Text('Home', style: TextStyle(color: Colors.white,),),
backgroundColor: Colors.black,
leading: IconButton(
icon: Icon(
Icons.keyboard_arrow_left,
color: Colors.white,
size: 35,
),
onPressed: () => Navigator.of(context).pop(),