Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-30 14:50:54 +08:00
parent 80fa0240e9
commit 8d94c0405f
115 changed files with 3150 additions and 1438 deletions

View File

@@ -6,9 +6,9 @@ import 'package:flutter/material.dart';
import 'package:get/get.dart';
abstract class CommonSlidePage extends StatefulWidget {
const CommonSlidePage({super.key, this.enableSlide});
const CommonSlidePage({super.key, this.enableSlide = true});
final bool? enableSlide;
final bool enableSlide;
}
abstract class CommonSlidePageState<T extends CommonSlidePage> extends State<T>
@@ -26,7 +26,7 @@ abstract class CommonSlidePageState<T extends CommonSlidePage> extends State<T>
@override
void initState() {
super.initState();
enableSlide = widget.enableSlide != false && slideDismissReplyPage;
enableSlide = widget.enableSlide && slideDismissReplyPage;
if (enableSlide) {
_animController = AnimationController(
vsync: this,