of static method
Implementation
static CarouselLayoutState of(BuildContext context) {
return context.findAncestorStateOfType<CarouselLayoutState>()!;
}
static CarouselLayoutState of(BuildContext context) {
return context.findAncestorStateOfType<CarouselLayoutState>()!;
}