-
-
Save TechieBlossom/e817c3d164bf67631573f7db53955e98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//1 | |
class CarouselLoadEvent extends MovieCarouselEvent { | |
//2 | |
final int defaultIndex; | |
//3 | |
const CarouselLoadEvent({this.defaultIndex = 0}): | |
assert(defaultIndex >= 0, 'defaultIndex cannot be less than 0'); | |
//4 | |
@override | |
List<Object> get props => [defaultIndex]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment