forked from eatvio/eatvio_app
31 lines
689 B
Dart
31 lines
689 B
Dart
// ignore_for_file: must_be_immutable
|
|
|
|
part of 'height_bloc.dart';
|
|
|
|
/// Represents the state of Height in the application.
|
|
class HeightState extends Equatable {
|
|
HeightState({
|
|
this.heightController,
|
|
this.heightModelObj,
|
|
});
|
|
|
|
TextEditingController? heightController;
|
|
|
|
HeightModel? heightModelObj;
|
|
|
|
@override
|
|
List<Object?> get props => [
|
|
heightController,
|
|
heightModelObj,
|
|
];
|
|
HeightState copyWith({
|
|
TextEditingController? heightController,
|
|
HeightModel? heightModelObj,
|
|
}) {
|
|
return HeightState(
|
|
heightController: heightController ?? this.heightController,
|
|
heightModelObj: heightModelObj ?? this.heightModelObj,
|
|
);
|
|
}
|
|
}
|