feat: 全屏手势设置 issues #517

This commit is contained in:
guozhigq
2024-02-28 00:34:46 +08:00
parent 835ea0a9ff
commit 542975d0ec
8 changed files with 133 additions and 10 deletions

View File

@ -0,0 +1,12 @@
enum FullScreenGestureMode {
/// 从上滑到下
fromToptoBottom,
/// 从下滑到上
fromBottomtoTop,
}
extension FullScreenGestureModeExtension on FullScreenGestureMode {
String get values => ['fromToptoBottom', 'fromBottomtoTop'][index];
String get labels => ['从上往下滑进入全屏', '从下往上滑进入全屏'][index];
}