flutter_carousel_intro 1.0.8 flutter_carousel_intro: ^1.0.8 copied to clipboard
The FlutterCarouselIntro is an amazing package that makes it easy to build and implement animated onboarding screens in Flutter applications.
0.0.1 #
***** Describe initial release. *
0.0.5 #
- Initial documentantion.
0.0.7 #
- Portuguese documentation.
0.0.10 #
- in this version you can set different slide direction (Vertial or Horizontal)
scrollDirection: Axis.horizontal,
scrollDirection: Axis.vertical,
0.0.12 #
1.0.1 #
- new param was added: IndicatorEffects, is an enum
indicatorEffect: IndicatorEffects.worm,
from version 1.0.2 to version 1.0.4 #
Version 1.0.5
bug fixed #
Looking up a deactivated widget's ancestor is unsafe #28
what's new #
- Swipe the carousel to the current clicked indicator
Version 1.0.6 #
Improve documentation
bugs fixed
Version 1.0.7 #
break changes #
- in old versions slides were used as follows
FlutterCarouselIntro(
slides: [
SvgPicture.asset("assets/slide-1.svg"),
SvgPicture.asset("assets/slide-2.svg"),
SvgPicture.asset("assets/slide-3.svg"),
SvgPicture.asset("assets/slide-4.svg"),
SvgPicture.asset("assets/slide-5.svg"),
],
);
- now you must use SliderItem, with SliderItem, you get a free title (it's a String), subtitle (it's a String) and a widget, in the widget you can use whatever you want
FlutterCarouselIntro(
slides: [
SliderItem(
title: 'Title 1',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
widget: SvgPicture.asset("assets/slide-1.svg"),
),
SliderItem(
title: 'Title 2',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
widget: SvgPicture.asset("assets/slide-2.svg"),
),
SliderItem(
title: 'Title 3',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
widget: SvgPicture.asset("assets/slide-3.svg"),
),
SliderItem(
title: 'Title 4',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
widget: SvgPicture.asset("assets/slide-4.svg"),
),
SliderItem(
title: 'Title 5',
subtitle: 'Lorem Ipsum is simply dummy text of the printing',
widget: SvgPicture.asset("assets/slide-5.svg"),
subtitleTextStyle: Theme.of(context).textTheme.displaySmall,
),
],
);
All SliderItem parameters #
String? title,
TextStyle? titleTextStyle,
TextAlign? titleTextAlign,
String? subtitle,
TextStyle? subtitleTextStyle,
TextAlign? subtitleTextAlign,