mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
28 lines
466 B
Dart
28 lines
466 B
Dart
part of 'tab.dart';
|
|
|
|
typedef _CardNotifier = ValueNotifier<_CardStatus>;
|
|
|
|
class _CardStatus {
|
|
final bool flip;
|
|
final bool? diskIO;
|
|
final NetViewType? net;
|
|
|
|
const _CardStatus({
|
|
this.flip = false,
|
|
this.diskIO,
|
|
this.net,
|
|
});
|
|
|
|
_CardStatus copyWith({
|
|
bool? flip,
|
|
bool? diskIO,
|
|
NetViewType? net,
|
|
}) {
|
|
return _CardStatus(
|
|
flip: flip ?? this.flip,
|
|
diskIO: diskIO ?? this.diskIO,
|
|
net: net ?? this.net,
|
|
);
|
|
}
|
|
}
|