Skip to content

Commit

Permalink
Add new File Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
larsb24 committed Mar 28, 2021
1 parent e5bd73f commit f724dd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Binary file added assets/icons/file.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 7 additions & 4 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,16 @@ class _FilesHomeState extends State<FilesHome> {
children: [
item.isDirectory
? SizedBox(
height: 24,
width: 30,
height: 30,
child: Image.asset(
"assets/icons/folder.png"),
)
: Icon(
Icons.insert_drive_file,
size: 24,
: SizedBox(
width: 30,
height: 30,
child: Image.asset(
"assets/icons/file.png"),
),
SizedBox(width: 16),
ConstrainedBox(
Expand Down

0 comments on commit f724dd3

Please sign in to comment.