approval level commented Code for filter .

etqan_ovr_integration
aamir-csol 1 week ago
parent a28eb4426b
commit eebaafcf7c

@ -4,12 +4,12 @@ class ApiConsts {
// static String baseUrl = "http://10.200.204.11"; // Local server // static String baseUrl = "http://10.200.204.11"; // Local server
// static String baseUrl = "https://erptstapp.srca.org.sa"; // SRCA server // static String baseUrl = "https://erptstapp.srca.org.sa"; // SRCA server
// static String baseUrl = "https://uat.hmgwebservices.com"; // UAT ser343622ver static String baseUrl = "https://uat.hmgwebservices.com"; // UAT ser343622ver
// static String baseUrl = "http://10.201.204.101:2024"; // static String baseUrl = "http://10.201.204.101:2024";
// static String baseUrl = "https://webservices.hmg.com"; // PreProd // static String baseUrl = "https://webservices.hmg.com"; // PreProd
// static String baseUrl = "https://hmgwebservices.com"; // Live server // static String baseUrl = "https://hmgwebservices.com"; // Live server
static String baseUrl = "https://mohemm.hmg.com"; // New Live server // static String baseUrl = "https://mohemm.hmg.com"; // New Live server
// //
// static String baseUrl = "https://uat.hmgwebservices.com"; // UAT ser343622ver // static String baseUrl = "https://uat.hmgwebservices.com"; // UAT ser343622ver
// static String baseUrl = "http://10.20.200.111:1010/"; // static String baseUrl = "http://10.20.200.111:1010/";

@ -74,7 +74,7 @@ class _EtqanOvrCreateRequestState extends State<EtqanOvrCreateRequest> {
_buildAttachmentSection(provider), _buildAttachmentSection(provider),
16.height, 16.height,
_buildDescriptionField(provider), _buildDescriptionField(provider),
16.height, 8.height,
_buildAnonymousCheckbox(provider), _buildAnonymousCheckbox(provider),
24.height, 24.height,
], ],
@ -284,7 +284,6 @@ class _EtqanOvrCreateRequestState extends State<EtqanOvrCreateRequest> {
onTap: () { onTap: () {
provider.setIsAnonymous(!provider.isAnonymous); provider.setIsAnonymous(!provider.isAnonymous);
}, },
borderRadius: BorderRadius.circular(15),
child: Row( child: Row(
children: <Widget>[ children: <Widget>[
Checkbox( Checkbox(
@ -295,22 +294,10 @@ class _EtqanOvrCreateRequestState extends State<EtqanOvrCreateRequest> {
} }
}, },
activeColor: MyColors.gradiantEndColor, activeColor: MyColors.gradiantEndColor,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)),
borderRadius: BorderRadius.circular(4),
),
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
Expanded( Expanded(child: Text(LocaleKeys.submitAsAnonymous.tr(), style: const TextStyle(fontSize: 14, fontWeight: FontWeight.w500, color: Color(0xff2B353E), letterSpacing: -0.44))),
child: Text(
LocaleKeys.submitAsAnonymous.tr(),
style: const TextStyle(
fontSize: 14,
fontWeight: FontWeight.w500,
color: Color(0xff2B353E),
letterSpacing: -0.44,
),
),
),
], ],
), ),
); );

Loading…
Cancel
Save