Last updated:
0 purchases
qs onboarding package
qs_onboarding_package #
A Flutter package that provides an efficient onboarding process with version updates and user notifications. Perfect for apps requiring a smooth onboarding experience.
Features #
Version updates checking
User notifications for various states
Easy integration with existing projects
Getting Started #
To use this package, add qs_onboarding_package as a dependency in your pubspec.yaml file.
dependencies:
qs_onboarding_package: ^0.0.2
copied to clipboard
Usage #
import 'package:qs_onboarding_package/onboarding_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Example',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: const BoardingPage(),
routes: {
'/home': (context) => const HomePage(),
'/error': (context) => ErrorPage(
onRestart: () => Restart.restartApp(),
),
},
);
}
}
class BoardingPage extends StatelessWidget {
const BoardingPage({super.key});
@override
Widget build(BuildContext context) {
return OnboardingWidget(
baseUrl: 'http://example.com/api',
applicationId: 'my_app_id',
version: '1.0.0',
platform: Platform.isAndroid ? 'android' : 'ios',
onRestart: () => Restart.restartApp(),
);
}
}
copied to clipboard
Лицензия #
This package is licensed under the MIT License.
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.