chore(example_full): remove dead code
This commit is contained in:
@@ -153,28 +153,6 @@ class _CommunicationViewState extends State<CommunicationView> {
|
||||
),
|
||||
),
|
||||
);
|
||||
if (FilesSaver.isImage(e.extension)) {
|
||||
return Image.file(
|
||||
File(e.path!),
|
||||
fit: BoxFit.cover,
|
||||
);
|
||||
} else {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border.all(color: kBlueColor),
|
||||
borderRadius: BorderRadius.circular(16)),
|
||||
padding: const EdgeInsets.all(8.0),
|
||||
alignment: Alignment.center,
|
||||
child: Text(
|
||||
e.name,
|
||||
style: const TextStyle(
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: kBlueColor,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
},
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user