/// 原稿作业回显
// 回显批注轨迹

import 'package:marking_app/common/model/job/gesture_recording.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:marking_app/common/mixin/common.dart';

final jobHandwritingDrawingTrajectoryProvider =
    StateNotifierProvider<JobHandwritingDrawingTrajectoryProviderHandle, List<GestureHandwritingRecording>>(
        (ref) => JobHandwritingDrawingTrajectoryProviderHandle([]));

class JobHandwritingDrawingTrajectoryProviderHandle extends StateNotifier<List<GestureHandwritingRecording>> with CommonMixin {
  JobHandwritingDrawingTrajectoryProviderHandle(List<GestureHandwritingRecording> progress) : super(progress);

  setVal(List<GestureHandwritingRecording> val) {
    state = val;
  }
}
