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.
21 lines
484 B
21 lines
484 B
import 'package:hadi_hoda_flutter/core/status/base_status.dart';
|
|
|
|
class IntroState {
|
|
final BaseStatus getIntroStatus;
|
|
final int currentIntro;
|
|
|
|
const IntroState({
|
|
this.getIntroStatus = const BaseInit(),
|
|
this.currentIntro = 0,
|
|
});
|
|
|
|
IntroState copyWith({
|
|
BaseStatus? getIntroStatus,
|
|
int? currentIntro,
|
|
}) {
|
|
return IntroState(
|
|
getIntroStatus: getIntroStatus ?? this.getIntroStatus,
|
|
currentIntro: currentIntro ?? this.currentIntro,
|
|
);
|
|
}
|
|
}
|