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)
|
||||
Container(
|
||||
color: Colors.white,
|
||||
// color: Colors.white,
|
||||
child: Row(
|
||||
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(
|
||||
onTap: () => apiService.downloadFile(
|
||||
apiUrl:
|
||||
|
||||
@ -715,7 +715,7 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
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,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user