feat: create/edit/del fav folder

This commit is contained in:
bggRGjQaUbCoE
2024-10-29 20:55:15 +08:00
parent aa2993082e
commit 14b2d460dd
17 changed files with 590 additions and 11 deletions

View File

@@ -28,6 +28,10 @@ import '../models/github/latest.dart';
class Utils {
static final Random random = Random();
static bool isDefault(int attr) {
return (attr & 2) == 0;
}
static bool isPublic(int attr) {
return (attr & 1) == 0;
}
@@ -119,10 +123,10 @@ class Utils {
return DraggableScrollableSheet(
minChildSize: 0,
maxChildSize: 1,
initialChildSize: 0.6,
initialChildSize: 0.7,
snap: true,
expand: false,
snapSizes: const [0.6],
snapSizes: const [0.7],
builder: (BuildContext context,
ScrollController scrollController) {
return GroupPanel(