You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
737 B
31 lines
737 B
import 'package:flutter/material.dart';
|
|
import 'package:get/get.dart';
|
|
import 'package:webview_flutter/webview_flutter.dart';
|
|
|
|
import '../../controllers/mind_map_controller.dart';
|
|
|
|
class MindMapTab extends StatefulWidget {
|
|
const MindMapTab({super.key});
|
|
|
|
@override
|
|
State<MindMapTab> createState() => _MindMapTabState();
|
|
}
|
|
|
|
class _MindMapTabState extends State<MindMapTab>
|
|
with AutomaticKeepAliveClientMixin {
|
|
final _controller = Get.find<MindMapController>();
|
|
|
|
@override
|
|
bool get wantKeepAlive => true;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
super.build(context);
|
|
return SafeArea(
|
|
top: false,
|
|
child: WebViewWidget(
|
|
controller: _controller.webViewController,
|
|
),
|
|
);
|
|
}
|
|
}
|
|
|