custom_intro_screen 1.0.1 copy "custom_intro_screen: ^1.0.1" to clipboard
custom_intro_screen: ^1.0.1 copied to clipboard

A Flutter package that provides customizable intro screens for your app, helping users understand the core features and functionalities with engaging visual content.

example/lib/main.dart

import 'dart:developer';

import 'package:flutter/material.dart';
import 'package:intro_screen/intro_screen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: IntroductionScreen(
        buttoncolor: const Color.fromARGB(255, 51, 94, 247),
        onGetStarted: () => log("Get Started"),
        onSkip: () => log("Skip"),
        context: context,
        introShownWidget:
            Scaffold(body: Center(child: const Text("Intro already shown"))),
        imageurl: [
          "assets/intro1.png",
          "assets/intro2.png",
          "assets/intro3.png",
          "assets/intro4.png",
        ],
        titles: [
          "Welcome to the Intro Screen",
          "Welcome to the Intro Screen",
          "Welcome to the Intro Screen",
          "Welcome to the Intro Screen"
        ],
        descriptions: [
          "This is a simple intro screen package for flutter",
          "This is a simple intro screen package for flutter",
          "This is a simple intro screen package for flutter",
          "This is a simple intro screen package for flutter"
        ],
      ),
    );
  }
}
1
likes
150
pub points
29%
popularity

Publisher

verified publisheraryalashish.com.np

A Flutter package that provides customizable intro screens for your app, helping users understand the core features and functionalities with engaging visual content.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, google_fonts, shared_preferences

More

Packages that depend on custom_intro_screen