* opt: cache

* opt: MediaListPanel

* feat: nested replyreply panel

* tweaks

* opt: abstract class

* opt: PageStorageKey

* opt: contextExt

* opt: EpisodePanel

* opt

* opt: context instead GlobalKey

* feat: jump to reply

* refa: reply_reply

* fix: jump

* fix: index

* update

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* opt: keepalive

* reapply: nested replyreply

* mod: spacing

* opt: CommonSlidePageState

* fix drag bottomsheet

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* opt reply jump

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* opt reply2reply

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* tweaks

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* tweaks

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* reapply: jumpToReply

* fix: padding

* fix: anim

* fix some panels

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

* opt: implements Scaffold

* opt: remove keepalive

* revert: GlobalKey

* tweaks

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>

---------

Co-authored-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
My-Responsitories
2025-09-15 18:45:28 +08:00
committed by GitHub
parent b9a55ccbce
commit 37fb63c3b1
75 changed files with 6300 additions and 1140 deletions

View File

@@ -15,7 +15,6 @@ Widget content(
required bool isSave,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
if (floor == 1) {
maxWidth -= 24;
@@ -99,7 +98,7 @@ Widget content(
),
)
.toList(),
callback: callback,
fullScreen: true,
),
],
),

View File

@@ -13,7 +13,6 @@ List<Widget> dynContent(
required bool isSave,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
final moduleDynamic = item.modules.moduleDynamic;
return [
@@ -25,7 +24,6 @@ List<Widget> dynContent(
isDetail: isDetail,
item: item,
floor: floor,
callback: callback,
maxWidth: maxWidth,
),
module(
@@ -35,7 +33,6 @@ List<Widget> dynContent(
isDetail: isDetail,
item: item,
floor: floor,
callback: callback,
maxWidth: maxWidth,
),
if (moduleDynamic?.additional case final additional?)

View File

@@ -12,7 +12,6 @@ class DynamicPanel extends StatelessWidget {
final double maxWidth;
final bool isDetail;
final ValueChanged? onRemove;
final Function(List<String>, int)? callback;
final bool isSave;
final Function(bool isTop, dynamic dynId)? onSetTop;
final VoidCallback? onBlock;
@@ -25,7 +24,6 @@ class DynamicPanel extends StatelessWidget {
required this.maxWidth,
this.isDetail = false,
this.onRemove,
this.callback,
this.isSave = false,
this.onSetTop,
this.onBlock,
@@ -80,7 +78,6 @@ class DynamicPanel extends StatelessWidget {
isDetail: isDetail,
item: item,
floor: 1,
callback: callback,
maxWidth: maxWidth,
),
const SizedBox(height: 2),

View File

@@ -16,7 +16,6 @@ Widget forwardPanel(
required bool isSave,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
final moduleDynamic = orig.modules.moduleDynamic;
final major = moduleDynamic?.major;
@@ -44,7 +43,6 @@ Widget forwardPanel(
isDetail: isDetail,
item: orig,
floor: floor + 1,
callback: callback,
maxWidth: maxWidth - 30,
),
],

View File

@@ -12,7 +12,6 @@ Widget livePanelSub(
required DynamicItemModel item,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
LivePlayInfo? live = item
.modules

View File

@@ -37,7 +37,6 @@ Widget module(
required bool isSave,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
final moduleDynamic = item.modules.moduleDynamic;
final major = moduleDynamic?.major;
@@ -74,7 +73,6 @@ Widget module(
floor: floor,
isSave: isSave,
isDetail: isDetail,
callback: callback,
maxWidth: maxWidth,
);
// 转发
@@ -85,7 +83,6 @@ Widget module(
isSave: isSave,
orig: item.orig!,
isDetail: isDetail,
callback: callback,
floor: floor + 1,
maxWidth: maxWidth,
);
@@ -314,7 +311,6 @@ Widget module(
isDetail: isDetail,
item: item,
floor: floor,
callback: callback,
maxWidth: maxWidth,
);

View File

@@ -15,7 +15,6 @@ Widget videoSeasonWidget(
required bool isSave,
required bool isDetail,
required double maxWidth,
Function(List<String>, int)? callback,
}) {
// type archive ugcSeason
// archive 视频/显示发布人