Troubleshooting routing issues

@override
Widget build(BuildContext context) {
  return PopScope(
    canPop: false, // Prevent full app exit
    onPopInvokedWithResult: (bool didPop, Object? result) async {
      LOG.w('PinScreen: Back navigation intercepted! didPop: $didPop');
      LOG.w('PinScreen: Result: $result');
      LOG.w('PinScreen: Stack trace of back navigation:');
      LOG.w(StackTrace.current.toString());
    },
    child: AppScaffold(
      image: LeftC(_backgroundImage!),
      body: _buildFormDetail(),
      resizeToAvoidBottomInset: false, // Keep false for background image
      wrapWithScroll: false, // Keep false for background image
      bottomBar: CustomBottomAppBar.withBack(
        onTap: () {
          context.gotoByPop();
        },
      ),
    ),
  );
}