flutter_carousel_intro 0.0.6 flutter_carousel_intro: ^0.0.6 copied to clipboard
Intro Slider Package.
flutter_carousel_intro #
Features #
- Custom child widgets
- Slide transition
- Rotate transition
Supported platforms #
- Flutter Android
- Flutter iOS
- Flutter web
- Flutter desktop
Preview #
Installation #
Add flutter_carousel_intro: ^0.0.5
to your pubspec.yaml
dependencies. And import it:
import 'package:flutter_carousel_intro/flutter_carousel_intro.dart';
How to use #
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"),
],
);
Gif #
Exemplo normal:
Opacidade Animada
animatedOpacity: true
Escala Animada
scale: true
Rotação animada no eixo X
animatedRotateX: true
Rotação animada no eixo Z
animatedRotateZ: true