intro_slider 4.2.1 intro_slider: ^4.2.1 copied to clipboard
Flutter Intro Slider is a flutter plugin that helps you make a cool intro for your app
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({Key? key}) : super(key: key);
static const type = 1;
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: type == 0
? IntroScreenDefault()
: type == 1
? IntroScreenCustomConfig()
: type == 2
? IntroScreenCustomLayout()
: IntroScreenDefault(),
debugShowCheckedModeBanner: false,
);
}
}