migrate chatty

This commit is contained in:
Salvatore Giordano
2021-05-18 17:15:37 +02:00
parent 33622093e0
commit bc655e0dc4
27 changed files with 181 additions and 159 deletions
@@ -11,7 +11,7 @@ class ProfileState {
this.success = false,
this.loading = false,
});
final File file;
final File? file;
final bool success;
final bool loading;
}
@@ -39,7 +39,7 @@ class ProfileVerifyView extends StatelessWidget {
onTap: context.read<ProfileVerifyCubit>().pickImage,
child: snapshot.file != null
? Image.file(
snapshot.file,
snapshot.file!,
fit: BoxFit.cover,
)
: Icon(