intro_slider 4.2.5 copy "intro_slider: ^4.2.5" to clipboard
intro_slider: ^4.2.5 copied to clipboard

Flutter Intro Slider is a flutter plugin that helps you make a cool intro for your app

example/lib/main.dart

import 'package:flutter/material.dart';

import 'intro_screen_custom_config.dart';
import 'intro_screen_custom_layout.dart';
import 'intro_screen_default.dart';

void main() => runApp(const MyApp());

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

  @override
  Widget build(BuildContext context) {
    const type = IntroScreenType.customConfig;
    return MaterialApp(
      home: switch (type) {
        IntroScreenType.defaultConfig => const IntroScreenDefault(),
        IntroScreenType.customConfig => const IntroScreenCustomConfig(),
        IntroScreenType.customLayout => const IntroScreenCustomLayout(),
      },
      debugShowCheckedModeBanner: false,
    );
  }
}

enum IntroScreenType {
  defaultConfig,
  customConfig,
  customLayout,
}
1.16k
likes
160
points
6.19k
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter Intro Slider is a flutter plugin that helps you make a cool intro for your app

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on intro_slider