/*
 * @Author: wangyang 1147192855@qq.com
 * @Date: 2022-07-14 18:16:06
 * @LastEditors: wangyang 1147192855@qq.com
 * @LastEditTime: 2022-08-01 16:17:33
 * @FilePath: \marking_app\lib\provider\user_provider.dart
 * @Description: APP上传文件状态
 */

import 'package:hooks_riverpod/hooks_riverpod.dart';

// 涂鸦批注开关
final zoomHistoryProvider =
    StateNotifierProvider<ZoomHistoryProviderHandle, double>((ref) => ZoomHistoryProviderHandle(0));

class ZoomHistoryProviderHandle extends StateNotifier<double> {
  ZoomHistoryProviderHandle(double theHeight) : super(theHeight);

  void setState(double val) {
    state = val;
  }
}
