IBanner constructor
IBanner(
- List<
BannerData> dataPromotion, { - Key? key,
- double width = 100,
- double height = 100,
- Color colorGrey = const Color.fromARGB(255, 180, 180, 180),
- Color colorActive = Colors.red,
- TextStyle style = const TextStyle(),
- required dynamic callback(),
- int seconds = 3,
- Color colorProgressBar = Colors.black,
- double radius = 0,
- int shadow = 0,
Implementation
IBanner(this.dataPromotion, {Key? key, this.width = 100, this.height = 100, this.colorGrey = const Color.fromARGB(255, 180, 180, 180),
this.colorActive = Colors.red, this.style = const TextStyle(),
required this.callback, this.seconds = 3, this.colorProgressBar = Colors.black,
this.radius = 0, this.shadow = 0}) : super(key: key);