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
+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: () {