This commit is contained in:
14
lib/presentation/settings/ai_model_settings_state.dart
Normal file
14
lib/presentation/settings/ai_model_settings_state.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'ai_model_settings_state.freezed.dart';
|
||||
|
||||
@freezed
|
||||
class AiModelSettingsState with _$AiModelSettingsState {
|
||||
const factory AiModelSettingsState({
|
||||
@Default(false) bool isDownloading,
|
||||
@Default(0.0) double progress,
|
||||
@Default('') String currentTask,
|
||||
@Default(false) bool areModelsValidated,
|
||||
String? errorMessage,
|
||||
}) = _AiModelSettingsState;
|
||||
}
|
||||
Reference in New Issue
Block a user