FLUTTER ECOSYSTEM

ishworpanta10/animated_introduction

Flutter用のアニメーション紹介スクリーンスライドパッケージ

animated_introduction のプロジェクト画像
Stars
13
Forks
6
最終プッシュ(UTC)
2024/11/07
プロジェクト状態
公開中
Ishwor Panta GitHub avatar
GITHUB User

Ishwor Panta ↗

Learner, Lecturer, Tech Enthusiastic, Mobile Dev || Software Developer

言語DartCMakeC++HTMLCSwiftObjective-CShellJavaKotlin

このリポジトリが公開するパッケージ

使用している依存関係

依存関係一覧 3 件
  • flutter{"sdk":"flutter"}
  • flutter_test開発用{"sdk":"flutter"}
  • flutter_lints開発用^2.0.0

元の README

以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。

README を開く / 閉じる

Simple Animated Introduction Screen for Flutter

Features

Add this to your flutter app to get a simple animated introduction screen.

example

Getting started

Add this to your package's pubspec.yaml file:

dependencies:
  animated_introduction: ^1.0.3

Usage

Import the package
import 'package:animated_introduction/animated_introduction.dart';
Create a list of SingleIntroScreen objects
final 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',
  ),
];
Pass the list to AnimatedIntroduction widget
Scaffold(
  body: AnimatedIntroduction(
    slides: pages,
    indicatorType: IndicatorType.circle,
    onDone: () {
/// TODO: Go to desire page like login or home
      },
    ),
  );