|
|
|
|
@ -1,7 +1,5 @@
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:fluttertoast/fluttertoast.dart';
|
|
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
import 'package:test_sa/controllers/api_routes/http_status_manger.dart';
|
|
|
|
|
import 'package:test_sa/controllers/providers/api/device_transfer_provider.dart';
|
|
|
|
|
import 'package:test_sa/controllers/providers/api/user_provider.dart';
|
|
|
|
|
import 'package:test_sa/controllers/providers/settings/setting_provider.dart';
|
|
|
|
|
@ -12,9 +10,7 @@ import 'package:test_sa/models/device/device_transfer_info.dart';
|
|
|
|
|
import 'package:test_sa/models/subtitle.dart';
|
|
|
|
|
import 'package:test_sa/views/app_style/sizing.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/buttons/app_button.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/departments/department_button.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/equipment/device_button.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/hospitals/hospital_button.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/loaders/loading_manager.dart';
|
|
|
|
|
import 'package:test_sa/views/widgets/titles/app_sub_title.dart';
|
|
|
|
|
|
|
|
|
|
@ -120,7 +116,7 @@ class _RequestDeviceTransferState extends State<RequestDeviceTransfer> {
|
|
|
|
|
child: Padding(
|
|
|
|
|
padding: const EdgeInsets.all(8.0),
|
|
|
|
|
child: Text(
|
|
|
|
|
"Transfer Device",
|
|
|
|
|
"Transfer Asset",
|
|
|
|
|
style: Theme.of(context).textTheme.headline5.copyWith(color: Theme.of(context).primaryColor, fontSize: 28, fontWeight: FontWeight.bold),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
@ -140,7 +136,7 @@ class _RequestDeviceTransferState extends State<RequestDeviceTransfer> {
|
|
|
|
|
// },
|
|
|
|
|
// ),
|
|
|
|
|
12.height,
|
|
|
|
|
const ASubTitle("Device"),
|
|
|
|
|
const ASubTitle("Asset"),
|
|
|
|
|
if (_validate && _formModel.device == null)
|
|
|
|
|
ASubTitle(
|
|
|
|
|
_subtitle.requiredWord,
|
|
|
|
|
|