PhoenixBanner constructor
const
PhoenixBanner({
- Key? key,
- required List<
String> listSlider, - int? carouselDurationMs = 3000,
- void onEvent(
- GestureEvent event,
- int index
- Color? activeColour,
- Color? inActiveColour,
- double? bannerHeight = 170.0,
- double? viewportFraction = 0.9,
- BoxFit? fit = BoxFit.cover,
- IndicatorPosition? indicatorPosition = IndicatorPosition.bottom,
- Widget placeholderBuilder(
- BuildContext context,
- String url
- String transformImageUrl(
- String url
Implementation
const PhoenixBanner({
Key? key,
required this.listSlider,
this.carouselDurationMs = 3000,
this.onEvent,
this.activeColour,
this.inActiveColour,
this.bannerHeight = 170.0,
this.viewportFraction = 0.9,
this.fit = BoxFit.cover,
this.indicatorPosition = IndicatorPosition.bottom,
this.placeholderBuilder,
this.transformImageUrl,
}) : super(key: key);