gone_board 1.0.2 copy "gone_board: ^1.0.2" to clipboard
gone_board: ^1.0.2 copied to clipboard

A stylish and animated onboarding screen for your App. It's easy to use light weight and customizable.

example/lib/main.dart

import 'package:example/DemoHome.dart';
import 'package:flutter/material.dart';
import 'package:gone_board/gone_board.dart';

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

class MyApp extends StatelessWidget {
  MyApp({super.key});

  final PageController pageController = PageController(initialPage: 0);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: Scaffold(
        body: GoneBoard(
            pageController: pageController,
            onFinishedPage: DemoHome(),
            items: [
              GonePage(
                image: 'assets/1.png',
                text: 'Welcome to GoneBoard',
                color: Colors.blue,
                context: context,
              ),
              GonePage(
                image: 'assets/2.png',
                text: 'GoneBoard is a Flutter package',
                color: Colors.red,
                context: context,
              ),
              GonePage(
                image: 'assets/3.png',
                text: 'GoneBoard is a Flutter package',
                color: Colors.green,
                context: context,
              ),
            ]),
      ),
    );
  }
}
7
likes
0
pub points
61%
popularity

Publisher

verified publisherratulicious.me

A stylish and animated onboarding screen for your App. It's easy to use light weight and customizable.

Repository (GitHub)
View/report issues

Topics

#ui #onboarding #animated #pageview

License

unknown (license)

Dependencies

flutter, flutter_animate, smooth_page_indicator

More

Packages that depend on gone_board