搜尋套件、儲存庫與 APP 分類

nice_intro 封面
套件詳情v0.2.1

nice_intro

輕鬆讓您的使用者了解您的應用!此套件將協助您為您的應用建立美麗的介紹頁面。

近 30 天下載
45
喜歡數
93
Pub 分數
60

安裝套件

flutter pub add nice_intro

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Nice Intro 是一個 Flutter 套件,專為簡化移動應用程式視覺上吸引人的引導畫面建立而設計。它讓開發者能夠建立流暢、可自訂的介紹幻燈片,幫助使用者快速理解並參與應用程式的功能。透過直覺式設定與乾淨的 API,支援動畫、內容置放與轉場效果,專為初次使用者體驗量身打造。此套件著重於美學與易用性,使引導過程既吸引人又有效。

適用情境

  • 引導新使用者
  • 應用功能導覽
  • 首次使用者體驗
  • 產品發佈介紹
  • 使用者參與度提升
  • 簡化教程流程

主要特色

  • 可自訂的簡報設計
  • 流暢的動畫
  • 與 Flutter 的輕鬆整合
  • 支援文字、圖像和圖示
  • 響應式佈局處理
  • 可設定的導航控制項

適合對象

  • 行動應用開發者
  • UX設計師
  • 初創企業發布應用
  • 需要使用者教育的應用程式
  • 有入職需求的專案

使用建議

  • 有限的平台特定自訂
  • 無內建地區化支援
  • 需要手動處理狀態管理
  • 依賴外部依賴項以實現進階功能
  • 未針對複雜的多步驟工作流程進行優化

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

nice_intro

Get your users to know your app with ease

Getting Started

Onboarding is a great way to introduce your app to newcomers, to help them quickly adapt to the new conditions so that they can get the most out of your app

Pub Version Donate

A Flutter package to build awesome intro slides for your apps.

Demo

This is somehow what you can expect from this package :)

Package Demo package demo

Installation

Add the following to pubspec.yaml:

dependencies:
  nice_intro: ^0.2.0

Usage Example

First, import the following files

import 'package:nice_intro/intro_screen.dart';
import 'package:nice_intro/intro_screens.dart';

Then, create a list of screens each one with the IntroSreen class:

List<IntroScreen> pages =  [
        IntroScreen(
          title: 'Search',
          imageAsset: 'assets/img/1.png',
          description: 'Quickly find all your messages',
          headerBgColor: Colors.white,
        ),
        IntroScreen(
          title: 'Focused Inbox',
          headerBgColor: Colors.white,
          imageAsset: 'assets/img/2.png',
          description: "We've put your most important, actionable emails here",
        ),
        IntroScreen(
          title: 'Social',
          headerBgColor: Colors.white,
          imageAsset: 'assets/img/3.png',
          description: "Keep talking with your mates",
        ),
      ];

You'll come up with a list of nice slides screens.

Finally, pass the pages to an instance of IntroScreens class:

IntroScreens introScreens = IntroScreens(
      footerBgColor: TinyColor(Colors.blue).lighten().color,
      activeDotColor: Colors.white,
      footerRadius: 18.0,
      indicatorType: IndicatorType.CIRCLE,
      pages:pages

    return Scaffold(
      body: introScreens,
    );

And pass it to your scaffold widget.

Documentation
IntroScreen widget's properties
Name Type Default Description
title String required Set the title of your slide screen
description String required Set the description of your slide screen
header String Container() Set the widget to use as the header part of your screen
imageAsset String null Set the image path of your slide screen
textStyle TextStyle null Set the style of the title and description of your slide
headerBgColor Color Colors.white Set the background color of the slide
headerPadding EdgeInsets EdgeInsets.all(12) Set the padding of the header part of your slide screen
containerBg Color Colors.white Set the wrapper container's background color
IntroScreens widget's properties
Name Type Default Description
slides List<IntroScreen> required list of your slides
onDone Function required Set the action to do when the last slide is reached
onSkip Function required Set the action to do when the user skips the slides
footerRadius double 12.0 Set the radius of the footer part of your slides
footerBgColor Color Color(0xff51adf6) Set the background color of the footer part of your slides
footerGradients List<Color> [] Set the list of colors for the gradient of the footer part of your slides
footerPadding EdgeInsets EdgeInsets.all(24) Set the padding of the footer part of your slides
indicatorType IndicatorType IndicatorType.CIRCLE Set the type of indicator for your slides
activeDotColor Color Colors.white Set the color of the active indicator color
inactiveDotColor Color null Set the color of an inactive indicator color
skipText String "Skip" Set the text of the skip widget
nextWidget Widget Set the widget to use for next interaction of your slides
doneWidget Widget Set the widget to display when the last slide is reached
viewPortFraction double 1.0 Set the viewport fraction of your slides
textColor Color Colors.white Set the text color of the footer part of your slides
physics ScrollPhysics BouncingScrollPhysics Set the physics for the page view
IndicatorType enum properties
  • IndicatorType.CIRCLE
  • IndicatorType.LINE
  • IndicatorType.DIAMOND

Now enjoy!

Refer to example folder and the source code for more information.

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。