|
@@ -4,10 +4,11 @@ import 'package:fis_common/event/event_type.dart';
|
|
|
import 'package:fis_lib_business_components/components/white_board/utils.dart';
|
|
|
import 'package:fis_lib_business_components/components/white_board/structure.dart';
|
|
|
import 'package:fis_lib_business_components/components/white_board/white_board_painter.dart';
|
|
|
+import 'package:fis_ui/index.dart';
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
-class WhiteBoard extends StatefulWidget {
|
|
|
- const WhiteBoard({
|
|
|
+class FWhiteBoard extends StatefulWidget implements FWidget {
|
|
|
+ const FWhiteBoard({
|
|
|
key,
|
|
|
required this.initData,
|
|
|
required this.userId,
|
|
@@ -36,10 +37,10 @@ class WhiteBoard extends StatefulWidget {
|
|
|
final FEventHandler<String> onClearCanavs;
|
|
|
|
|
|
@override
|
|
|
- State<WhiteBoard> createState() => _WhiteBoardState();
|
|
|
+ State<FWhiteBoard> createState() => _FWhiteBoardState();
|
|
|
}
|
|
|
|
|
|
-class _WhiteBoardState extends State<WhiteBoard> {
|
|
|
+class _FWhiteBoardState extends State<FWhiteBoard> {
|
|
|
/// 画布尺寸
|
|
|
late double canvasWidth = 0.0;
|
|
|
late double canvasHeight = 0.0;
|