cb_intros 0.0.1
cb_intros: ^0.0.1 copied to clipboard
A better way to introduce users to your app.
cb_intros #
A visually appealing and customizable onboarding/intro screen widget for your Flutter applications.
Features #
- Smooth Page Transition: Provides a smooth
PageViewfor a seamless onboarding experience. - Customizable Appearance: Control the background colors, image assets, text content (titles and descriptions), button color, and padding.
- Animated Page Indicator: Includes a visually appealing smooth page indicator to show progress.
- Unique Design: Features a distinctive "side-cut" design for the text and button area.
- Easy Integration: Simple to add to any Flutter project.
- Animations: Uses
flutter_animatefor subtle and engaging animations.
Screenshots/GIFs (Replace with your actual media) #
Getting Started #
- Add the dependency:
- Install the package:
- Import it:
Usage #
Here's a basic example of how to use CbIntros:
dart import 'package:flutter/material. dart' ; import 'package:cb_intros/cb_ intros. dart' ;
class MyApp extends StatelessWidget { const MyApp({super.key});
@override Widget build(BuildContext context) { return MaterialApp( home: Scaffold( body: CbIntros( images: const ['image1.png', 'image2.png', 'image3.png'], // Add your image filenames colors: const [Colors.blue, Colors.green, Colors.orange], boxColor: Colors.white, titles: const ['Welcome!', 'Explore', 'Get Started'], desc: const [ 'Discover amazing features.', 'Navigate easily through the app.', 'Ready to begin your journey?', ], appPadding: 20.0, moveToNextScreen: () { // Replace with your navigation logic Navigator.of(context) . pushReplacementNamed( ' / home' ) ; }, ), ), ); } }