Realtime call

This commit is contained in:
2025-05-26 01:42:59 +08:00
parent edf4ff1c5b
commit f39a066f71
19 changed files with 1433 additions and 112 deletions

View File

@ -179,12 +179,14 @@ class AppScaffold extends StatelessWidget {
class PageBackButton extends StatelessWidget {
final List<Shadow>? shadows;
const PageBackButton({super.key, this.shadows});
final VoidCallback? onWillPop;
const PageBackButton({super.key, this.shadows, this.onWillPop});
@override
Widget build(BuildContext context) {
return IconButton(
onPressed: () {
onWillPop?.call();
context.router.maybePop();
},
icon: Icon(