boarding_flow

Creator: coderz1093

Last updated:

0 purchases

boarding_flow Image
boarding_flow Images
Add to Cart

Description:

boarding flow

boarding_flow #
A custom flutter package for creating amazing onBoarding pages.
Usage #
[Example] (https://github.com/Destiny-Ed/boarding_flow/blob/main/example/boarding_page.dartt)
To use this package : add the dependency to your [pubspec.yaml] file
dependencies:
flutter:
sdk: flutter
rating_widget:
copied to clipboard
Run flutter pub get
Add To Your Dart Class #

dimport 'package:boarding_flow/BoardingPage/boarding_flow.dart';
import 'package:boarding_flow/BoardingPage/page.dart';
import 'package:flutter/material.dart';

void main() {
runApp(StartPage());
}

class StartPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: BoardingPage(),
);
}
}

class BoardingPage extends StatefulWidget {
@override
_BoardingPageState createState() => _BoardingPageState();
}

class _BoardingPageState extends State<BoardingPage> {
//
List<Pages> pages = [
Pages(
title: "Learn",
imagePath: "assets/ref.png",
description:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
),
Pages(
title: "Research",
imagePath: "assets/ref.png",
description:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
),
Pages(
title: "Contribute",
imagePath: "assets/ref.png",
description:
"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.",
),
];

//
@override
Widget build(BuildContext context) {
return CustomBordingPage(
boardingPages: pages,
lastPageAction: () {
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(content: Text("Perform Action Here")),
);
},
);
}
}

copied to clipboard
Getting Started #
This project is a starting point for a Dart
package,
a library module containing code that can be shared easily across
multiple Flutter or Dart projects.
For help getting started with Flutter, view our
online documentation, which offers tutorials,
samples, guidance on mobile development, and a full API reference.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.