mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-04 02:45:35 -05:00
refactor: push method as extension
This commit is contained in:
@@ -30,7 +30,6 @@ AntListItem createObjectTreeItem({
|
||||
}) {
|
||||
return AntListItem(
|
||||
prefix: _buildIcon(type, name),
|
||||
child: Text(name),
|
||||
extra: size == null ? null : Text(filesize(size)),
|
||||
onClick: () async {
|
||||
final finalUrl = [
|
||||
@@ -51,5 +50,6 @@ AntListItem createObjectTreeItem({
|
||||
await launchStringUrl(finalUrl);
|
||||
},
|
||||
arrow: size == null ? const Icon(AntIcons.rightOutline) : null,
|
||||
child: Text(name),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user