v1.0.4animated_introduction
一个带有图片和动画的全新 Flutter 介绍包,可用于展示您的应用功能或产品演示。
104喜欢 125近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
适用于 Flutter 的动画介绍屏幕滑动包
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
Simple Animated Introduction Screen for Flutter
Add this to your flutter app to get a simple animated introduction screen.
exampleAdd this to your package's pubspec.yaml file:
dependencies:
animated_introduction: ^1.0.3
import 'package:animated_introduction/animated_introduction.dart';
SingleIntroScreen objectsfinal List<SingleIntroScreen> pages = [
const SingleIntroScreen(
title: 'Welcome to the Event Management App !',
description: 'You plans your Events, We\'ll do the rest and will be the best! Guaranteed! ',
imageAsset: 'assets/onboard_one.png',
),
const SingleIntroScreen(
title: 'Book tickets to cricket matches and events',
description: 'Tickets to the latest movies, crickets matches, concerts, comedy shows, plus lots more !',
imageAsset: 'assets/onboard_two.png',
),
const SingleIntroScreen(
title: 'Grabs all events now only in your hands',
description: 'All events are now in your hands, just a click away ! ',
imageAsset: 'assets/onboard_three.png',
),
];
AnimatedIntroduction widgetScaffold(
body: AnimatedIntroduction(
slides: pages,
indicatorType: IndicatorType.circle,
onDone: () {
/// TODO: Go to desire page like login or home
},
),
);