mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
* chore(mobile): example freezed implementation on some models * Don't commit Freezed generated code * Freezed easy pass * Formatting fix * Generate Flutter debugging info
14 lines
412 B
Dart
14 lines
412 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'viewer_config.freezed.dart';
|
|
|
|
@freezed
|
|
abstract class ViewerConfig with _$ViewerConfig {
|
|
const factory ViewerConfig({
|
|
@Default(true) bool loopVideo,
|
|
@Default(false) bool loadOriginalVideo,
|
|
@Default(true) bool autoPlayVideo,
|
|
@Default(false) bool tapToNavigate,
|
|
}) = _ViewerConfig;
|
|
}
|