CarouselLayout constructor

const CarouselLayout({
  1. Key? key,
  2. List<Widget>? childs,
  3. Widget? foldChild,
  4. bool foldState = false,
  5. Decoration? decoration,
  6. int duration = 1000,
  7. BorderRadius? borderRadius,
  8. Color backgroundColor = Colors.white,
  9. Widget? background,
})

Implementation

const CarouselLayout(
    {Key? key,
    this.childs,
    this.foldChild,
    this.foldState = false,
    this.decoration,
    this.duration = 1000,
    this.borderRadius,
    this.backgroundColor = Colors.white,
    this.background})
    : super(key: key);