基础组件库
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.

feedback_state.dart 527 B

123456789101112131415161718192021
  1. import 'package:meta/meta.dart';
  2. import 'package:zhiying_base_widget/pages/feedback_page/model/feedback_model.dart';
  3. @immutable
  4. abstract class FeedbackState {}
  5. class FeedbackInitial extends FeedbackState {}
  6. class FeedbackLoadedState extends FeedbackState{
  7. FeedbackModel model;
  8. FeedbackLoadedState({this.model});
  9. }
  10. class FeedbackErrorState extends FeedbackState{}
  11. /// 保存反馈成功
  12. class FeedbackSaveSuccessState extends FeedbackState{}
  13. /// 保存反馈失败
  14. class FeedbackSaveErrorState extends FeedbackState{}