Server detail page cards support sorting

This commit is contained in:
lollipopkit
2023-05-26 18:03:43 +08:00
parent 20ef9d4575
commit 00fdcb1ee8
7 changed files with 128 additions and 71 deletions

View File

@@ -8,8 +8,13 @@ class VirtualKey {
final IconData? icon;
final VirtualKeyFunc? func;
VirtualKey(this.text,
{this.key, this.toggleable = false, this.icon, this.func,});
VirtualKey(
this.text, {
this.key,
this.toggleable = false,
this.icon,
this.func,
});
}
enum VirtualKeyFunc { toggleIME, backspace, copy, paste, snippet }