// SPDX-FileCopyrightText: 2026 TatuChat // // SPDX-License-Identifier: AGPL-3.0-or-later import 'package:flutter/widgets.dart'; /// Fallback used when neither `dart.library.js_interop` nor `dart.library.ffi` /// is available. It should never be selected on a supported platform. class MiniAppShell extends StatelessWidget { final String html; final String appId; final String title; final Future> Function(Map request) onRequest; const MiniAppShell({ super.key, required this.html, required this.appId, required this.title, required this.onRequest, }); @override Widget build(BuildContext context) => throw UnsupportedError( 'MiniAppShell is not implemented for this platform', ); }