Splacher

This is a sample flutter onboarding plugin you use to attract first-time users when they land on your page, hence the name Splacher. You can implement this widget anywhere you want in your app, by managing its top-level state to show the widget to users at the appropriate time. There are also many parameters that enable you to design this widget to your liking.

Show some ❤️ and star the repo to support the project!

Pub Star on Github License: MIT Repository views

Getting started

Follow these steps to use this package

Add dependency

dependencies:
  splacher:

Add import package

import 'package:splacher/splacher.dart';

Easy to use

The package is designed with maximum adaptation to All screens.
Therefore, adding a widget to your screen will be very simple.

    Scaffold(
        body: Splacher(
            pages: <Widget>[
                Container(
                    color: const Color(0xff7fc8c0),
                    child: Center(child: Image.asset("assets/img3.png", fit: BoxFit.fitWidth))),
                Container(
                    color: const Color(0xfff0846a),
                    child: Center(child: Image.asset("assets/img2.jpg", fit: BoxFit.fitWidth))),
            ],
            activeColor: Colors.white, // optional
            inActiveColor: Colors.white70, // optional
            backgroundColor: , // optional
            buttonDirection: , // optional
            doneTitle: , // optional
            nextTitle: , // optional
            skipTitle: , // optional
            onIntroCompleted: () {
                Navigator.of(context).pushReplacementNamed('/to_go');
            },
        ),
    );

Additional information

The project is under development and ready for your pull-requests and issues 👍
Thank you for support ❤️

Libraries

splacher