phase3: nullable fields/methods, casts, ?.call, pinput/YoutubePlayer v5, buttonColor, dead-code removal. 72->16
This commit is contained in:
@@ -38,7 +38,7 @@ class CarouselState extends State<Carousel> {
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
if (widget.autoPlay) {
|
||||
if (widget.autoPlay == true) {
|
||||
_timer = new Timer.periodic(widget.duration, (timer) {
|
||||
_pageController.animateToPage(_currentPage,
|
||||
duration: widget.animationDuration, curve: Curves.linear);
|
||||
|
||||
Reference in New Issue
Block a user