Upload Remove Option

This commit is contained in:
venbaittech 2025-09-12 16:54:39 +05:30
parent e2c02c4e12
commit 3c7ce422a9
2 changed files with 16 additions and 2 deletions

View File

@ -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:

View File

@ -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,