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

View File

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