Upload Remove Option
This commit is contained in:
parent
e2c02c4e12
commit
3c7ce422a9
@ -541,9 +541,23 @@ class AgentState extends ConsumerState<Agent> {
|
|||||||
|
|
||||||
if (docUploadedFile != null || passportFileUrlFromApi != null)
|
if (docUploadedFile != null || passportFileUrlFromApi != null)
|
||||||
Container(
|
Container(
|
||||||
color: Colors.white,
|
// color: Colors.white,
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
IconButton(
|
||||||
|
onPressed: () {
|
||||||
|
setState(() {
|
||||||
|
docUploadedFile = null;
|
||||||
|
passportFileUrlFromApi = null;
|
||||||
|
selectedFileNames = null;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
icon: Icon(
|
||||||
|
Icons.remove_circle_outline_rounded,
|
||||||
|
color: Colors.redAccent,
|
||||||
|
),
|
||||||
|
tooltip: 'To Remove Upload',
|
||||||
|
),
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: () => apiService.downloadFile(
|
onTap: () => apiService.downloadFile(
|
||||||
apiUrl:
|
apiUrl:
|
||||||
|
|||||||
@ -715,7 +715,7 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
|||||||
),
|
),
|
||||||
const SizedBox(height: 10),
|
const SizedBox(height: 10),
|
||||||
const Text(
|
const Text(
|
||||||
'${'"'}Manage vsdv your policies, track quotations, and grow your business all in one place.${'"'}',
|
'${'"'}Manage your policies, track quotations, and grow your business all in one place.${'"'}',
|
||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 18,
|
fontSize: 18,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user