feat: about app
This commit is contained in:
parent
838707becf
commit
50934bfed9
@ -156,21 +156,21 @@ extension GetItInjectableX on _i174.GetIt {
|
|||||||
gh.factory<_i17.AuthRemoteDataProvider>(
|
gh.factory<_i17.AuthRemoteDataProvider>(
|
||||||
() => _i17.AuthRemoteDataProvider(gh<_i115.ApiClient>()),
|
() => _i17.AuthRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
);
|
);
|
||||||
|
gh.factory<_i785.UserRemoteDataProvider>(
|
||||||
|
() => _i785.UserRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
|
);
|
||||||
gh.factory<_i823.ProductRemoteDataProvider>(
|
gh.factory<_i823.ProductRemoteDataProvider>(
|
||||||
() => _i823.ProductRemoteDataProvider(gh<_i115.ApiClient>()),
|
() => _i823.ProductRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
);
|
);
|
||||||
|
gh.factory<_i27.OutletRemoteDataProvider>(
|
||||||
|
() => _i27.OutletRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
|
);
|
||||||
gh.factory<_i866.AnalyticRemoteDataProvider>(
|
gh.factory<_i866.AnalyticRemoteDataProvider>(
|
||||||
() => _i866.AnalyticRemoteDataProvider(gh<_i115.ApiClient>()),
|
() => _i866.AnalyticRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
);
|
);
|
||||||
gh.factory<_i1006.CustomerRemoteDataProvider>(
|
gh.factory<_i1006.CustomerRemoteDataProvider>(
|
||||||
() => _i1006.CustomerRemoteDataProvider(gh<_i115.ApiClient>()),
|
() => _i1006.CustomerRemoteDataProvider(gh<_i115.ApiClient>()),
|
||||||
);
|
);
|
||||||
gh.factory<_i27.OutletRemoteDataProvider>(
|
|
||||||
() => _i27.OutletRemoteDataProvider(gh<_i115.ApiClient>()),
|
|
||||||
);
|
|
||||||
gh.factory<_i785.UserRemoteDataProvider>(
|
|
||||||
() => _i785.UserRemoteDataProvider(gh<_i115.ApiClient>()),
|
|
||||||
);
|
|
||||||
gh.factory<_i48.ICustomerRepository>(
|
gh.factory<_i48.ICustomerRepository>(
|
||||||
() => _i550.CustomerRepository(gh<_i1006.CustomerRemoteDataProvider>()),
|
() => _i550.CustomerRepository(gh<_i1006.CustomerRemoteDataProvider>()),
|
||||||
);
|
);
|
||||||
@ -216,12 +216,12 @@ extension GetItInjectableX on _i174.GetIt {
|
|||||||
gh.factory<_i183.CategoryLoaderBloc>(
|
gh.factory<_i183.CategoryLoaderBloc>(
|
||||||
() => _i183.CategoryLoaderBloc(gh<_i1020.ICategoryRepository>()),
|
() => _i183.CategoryLoaderBloc(gh<_i1020.ICategoryRepository>()),
|
||||||
);
|
);
|
||||||
gh.factory<_i889.SalesLoaderBloc>(
|
|
||||||
() => _i889.SalesLoaderBloc(gh<_i477.IAnalyticRepository>()),
|
|
||||||
);
|
|
||||||
gh.factory<_i473.HomeBloc>(
|
gh.factory<_i473.HomeBloc>(
|
||||||
() => _i473.HomeBloc(gh<_i477.IAnalyticRepository>()),
|
() => _i473.HomeBloc(gh<_i477.IAnalyticRepository>()),
|
||||||
);
|
);
|
||||||
|
gh.factory<_i889.SalesLoaderBloc>(
|
||||||
|
() => _i889.SalesLoaderBloc(gh<_i477.IAnalyticRepository>()),
|
||||||
|
);
|
||||||
gh.factory<_i337.CurrentOutletLoaderBloc>(
|
gh.factory<_i337.CurrentOutletLoaderBloc>(
|
||||||
() => _i337.CurrentOutletLoaderBloc(gh<_i197.IOutletRepository>()),
|
() => _i337.CurrentOutletLoaderBloc(gh<_i197.IOutletRepository>()),
|
||||||
);
|
);
|
||||||
|
|||||||
330
lib/presentation/pages/about_app/about_app_page.dart
Normal file
330
lib/presentation/pages/about_app/about_app_page.dart
Normal file
@ -0,0 +1,330 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:auto_route/auto_route.dart';
|
||||||
|
import 'package:package_info_plus/package_info_plus.dart';
|
||||||
|
import 'package:device_info_plus/device_info_plus.dart';
|
||||||
|
|
||||||
|
import '../../../common/theme/theme.dart';
|
||||||
|
|
||||||
|
@RoutePage()
|
||||||
|
class AboutAppPage extends StatefulWidget {
|
||||||
|
const AboutAppPage({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
State<AboutAppPage> createState() => _AboutAppPageState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _AboutAppPageState extends State<AboutAppPage>
|
||||||
|
with TickerProviderStateMixin {
|
||||||
|
PackageInfo? packageInfo;
|
||||||
|
String deviceInfo = '';
|
||||||
|
late AnimationController _fadeController;
|
||||||
|
late AnimationController _slideController;
|
||||||
|
late Animation<double> _fadeAnimation;
|
||||||
|
late Animation<Offset> _slideAnimation;
|
||||||
|
|
||||||
|
@override
|
||||||
|
void initState() {
|
||||||
|
super.initState();
|
||||||
|
_initAnimations();
|
||||||
|
_loadAppInfo();
|
||||||
|
}
|
||||||
|
|
||||||
|
void _initAnimations() {
|
||||||
|
_fadeController = AnimationController(
|
||||||
|
duration: const Duration(milliseconds: 800),
|
||||||
|
vsync: this,
|
||||||
|
);
|
||||||
|
_slideController = AnimationController(
|
||||||
|
duration: const Duration(milliseconds: 1000),
|
||||||
|
vsync: this,
|
||||||
|
);
|
||||||
|
|
||||||
|
_fadeAnimation = Tween<double>(begin: 0.0, end: 1.0).animate(
|
||||||
|
CurvedAnimation(parent: _fadeController, curve: Curves.easeInOut),
|
||||||
|
);
|
||||||
|
|
||||||
|
_slideAnimation =
|
||||||
|
Tween<Offset>(begin: const Offset(0, 0.3), end: Offset.zero).animate(
|
||||||
|
CurvedAnimation(parent: _slideController, curve: Curves.elasticOut),
|
||||||
|
);
|
||||||
|
|
||||||
|
_fadeController.forward();
|
||||||
|
Future.delayed(const Duration(milliseconds: 300), () {
|
||||||
|
_slideController.forward();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> _loadAppInfo() async {
|
||||||
|
try {
|
||||||
|
final info = await PackageInfo.fromPlatform();
|
||||||
|
final deviceInfoPlugin = DeviceInfoPlugin();
|
||||||
|
String device = '';
|
||||||
|
|
||||||
|
if (Theme.of(context).platform == TargetPlatform.android) {
|
||||||
|
final androidInfo = await deviceInfoPlugin.androidInfo;
|
||||||
|
device = '${androidInfo.brand} ${androidInfo.model}';
|
||||||
|
} else if (Theme.of(context).platform == TargetPlatform.iOS) {
|
||||||
|
final iosInfo = await deviceInfoPlugin.iosInfo;
|
||||||
|
device = '${iosInfo.name} ${iosInfo.model}';
|
||||||
|
}
|
||||||
|
|
||||||
|
setState(() {
|
||||||
|
packageInfo = info;
|
||||||
|
deviceInfo = device;
|
||||||
|
});
|
||||||
|
} catch (e) {
|
||||||
|
print('Error loading app info: $e');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void dispose() {
|
||||||
|
_fadeController.dispose();
|
||||||
|
_slideController.dispose();
|
||||||
|
super.dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
body: CustomScrollView(
|
||||||
|
physics: const BouncingScrollPhysics(),
|
||||||
|
slivers: [_buildSliverAppBar(), _buildContent()],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget _buildSliverAppBar() {
|
||||||
|
return SliverAppBar(
|
||||||
|
expandedHeight: 280.0,
|
||||||
|
pinned: true,
|
||||||
|
elevation: 0,
|
||||||
|
backgroundColor: AppColor.primary,
|
||||||
|
flexibleSpace: FlexibleSpaceBar(
|
||||||
|
title: AnimatedBuilder(
|
||||||
|
animation: _fadeAnimation,
|
||||||
|
builder: (context, child) {
|
||||||
|
return Opacity(
|
||||||
|
opacity: _fadeAnimation.value,
|
||||||
|
child: Text(
|
||||||
|
'Tentang Aplikasi',
|
||||||
|
style: AppStyle.lg.copyWith(
|
||||||
|
color: AppColor.white,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
background: Container(
|
||||||
|
decoration: const BoxDecoration(
|
||||||
|
gradient: LinearGradient(
|
||||||
|
begin: Alignment.topLeft,
|
||||||
|
end: Alignment.bottomRight,
|
||||||
|
colors: AppColor.primaryGradient,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Stack(
|
||||||
|
children: [
|
||||||
|
// Background pattern
|
||||||
|
Positioned.fill(child: CustomPaint(painter: _PatternPainter())),
|
||||||
|
// App icon and version
|
||||||
|
Center(
|
||||||
|
child: FadeTransition(
|
||||||
|
opacity: _fadeAnimation,
|
||||||
|
child: SlideTransition(
|
||||||
|
position: _slideAnimation,
|
||||||
|
child: Column(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
width: 100,
|
||||||
|
height: 100,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: AppColor.white,
|
||||||
|
borderRadius: BorderRadius.circular(25),
|
||||||
|
boxShadow: [
|
||||||
|
BoxShadow(
|
||||||
|
color: AppColor.black.withOpacity(0.2),
|
||||||
|
blurRadius: 20,
|
||||||
|
offset: const Offset(0, 10),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
child: Icon(
|
||||||
|
Icons.mobile_friendly,
|
||||||
|
size: 50,
|
||||||
|
color: AppColor.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 16),
|
||||||
|
Text(
|
||||||
|
packageInfo?.appName ?? 'My App',
|
||||||
|
style: AppStyle.h4.copyWith(
|
||||||
|
color: AppColor.white,
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 8),
|
||||||
|
Container(
|
||||||
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 12,
|
||||||
|
vertical: 6,
|
||||||
|
),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: AppColor.white.withOpacity(0.2),
|
||||||
|
borderRadius: BorderRadius.circular(20),
|
||||||
|
),
|
||||||
|
child: Text(
|
||||||
|
'v${packageInfo?.version ?? '1.0.0'}',
|
||||||
|
style: AppStyle.sm.copyWith(
|
||||||
|
color: AppColor.white,
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
leading: IconButton(
|
||||||
|
icon: const Icon(Icons.arrow_back_ios, color: AppColor.white),
|
||||||
|
onPressed: () => context.router.back(),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget _buildContent() {
|
||||||
|
return SliverToBoxAdapter(
|
||||||
|
child: FadeTransition(
|
||||||
|
opacity: _fadeAnimation,
|
||||||
|
child: Container(
|
||||||
|
color: AppColor.background,
|
||||||
|
child: Column(
|
||||||
|
children: [_buildAppInfoSection(), const SizedBox(height: 40)],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget _buildAppInfoSection() {
|
||||||
|
return Container(
|
||||||
|
margin: const EdgeInsets.all(20),
|
||||||
|
padding: const EdgeInsets.all(24),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: AppColor.white,
|
||||||
|
borderRadius: BorderRadius.circular(20),
|
||||||
|
boxShadow: [
|
||||||
|
BoxShadow(
|
||||||
|
color: AppColor.primary.withOpacity(0.1),
|
||||||
|
blurRadius: 20,
|
||||||
|
offset: const Offset(0, 8),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Row(
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
padding: const EdgeInsets.all(12),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: AppColor.primary.withOpacity(0.1),
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
),
|
||||||
|
child: Icon(
|
||||||
|
Icons.info_outline,
|
||||||
|
color: AppColor.primary,
|
||||||
|
size: 24,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 16),
|
||||||
|
Text(
|
||||||
|
'Informasi Aplikasi',
|
||||||
|
style: AppStyle.h6.copyWith(
|
||||||
|
fontWeight: FontWeight.bold,
|
||||||
|
color: AppColor.primary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
const SizedBox(height: 20),
|
||||||
|
_buildInfoRow('Nama Aplikasi', packageInfo?.appName ?? 'Loading...'),
|
||||||
|
_buildInfoRow('Versi', packageInfo?.version ?? 'Loading...'),
|
||||||
|
_buildInfoRow(
|
||||||
|
'Build Number',
|
||||||
|
packageInfo?.buildNumber ?? 'Loading...',
|
||||||
|
),
|
||||||
|
_buildInfoRow(
|
||||||
|
'Package Name',
|
||||||
|
packageInfo?.packageName ?? 'Loading...',
|
||||||
|
),
|
||||||
|
_buildInfoRow(
|
||||||
|
'Device',
|
||||||
|
deviceInfo.isEmpty ? 'Loading...' : deviceInfo,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
Widget _buildInfoRow(String label, String value) {
|
||||||
|
return Padding(
|
||||||
|
padding: const EdgeInsets.symmetric(vertical: 8),
|
||||||
|
child: Row(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
SizedBox(
|
||||||
|
width: 120,
|
||||||
|
child: Text(
|
||||||
|
label,
|
||||||
|
style: AppStyle.md.copyWith(
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
color: AppColor.textSecondary,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 16),
|
||||||
|
Expanded(
|
||||||
|
child: Text(
|
||||||
|
value,
|
||||||
|
style: AppStyle.md.copyWith(color: AppColor.textPrimary),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class _PatternPainter extends CustomPainter {
|
||||||
|
@override
|
||||||
|
void paint(Canvas canvas, Size size) {
|
||||||
|
final paint = Paint()
|
||||||
|
..color = AppColor.white.withOpacity(0.1)
|
||||||
|
..strokeWidth = 1
|
||||||
|
..style = PaintingStyle.stroke;
|
||||||
|
|
||||||
|
// Create geometric pattern
|
||||||
|
for (int i = 0; i < 20; i++) {
|
||||||
|
for (int j = 0; j < 20; j++) {
|
||||||
|
final x = (size.width / 20) * i;
|
||||||
|
final y = (size.height / 20) * j;
|
||||||
|
|
||||||
|
if ((i + j) % 3 == 0) {
|
||||||
|
canvas.drawCircle(Offset(x, y), 3, paint);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
bool shouldRepaint(covariant CustomPainter oldDelegate) => false;
|
||||||
|
}
|
||||||
@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
|
|||||||
|
|
||||||
import '../../../../common/theme/theme.dart';
|
import '../../../../common/theme/theme.dart';
|
||||||
import '../../../router/app_router.gr.dart';
|
import '../../../router/app_router.gr.dart';
|
||||||
import 'divider.dart';
|
|
||||||
import 'profile_tile.dart';
|
import 'profile_tile.dart';
|
||||||
|
|
||||||
class ProfileAppSetting extends StatefulWidget {
|
class ProfileAppSetting extends StatefulWidget {
|
||||||
@ -79,17 +78,6 @@ class _ProfileAppSettingState extends State<ProfileAppSetting> {
|
|||||||
subtitle: 'English (US)',
|
subtitle: 'English (US)',
|
||||||
onTap: () => context.router.push(LanguageRoute()),
|
onTap: () => context.router.push(LanguageRoute()),
|
||||||
),
|
),
|
||||||
|
|
||||||
ProfileDivider(),
|
|
||||||
|
|
||||||
ProfileTile(
|
|
||||||
icon: Icons.security_outlined,
|
|
||||||
title: 'Security & Privacy',
|
|
||||||
subtitle: 'Manage your security settings',
|
|
||||||
onTap: () {
|
|
||||||
// Navigate to security settings
|
|
||||||
},
|
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
|
import 'package:auto_route/auto_route.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../../../common/theme/theme.dart';
|
import '../../../../common/theme/theme.dart';
|
||||||
|
import '../../../router/app_router.gr.dart';
|
||||||
import 'divider.dart';
|
import 'divider.dart';
|
||||||
import 'profile_tile.dart';
|
import 'profile_tile.dart';
|
||||||
|
|
||||||
@ -41,31 +43,26 @@ class ProfileSupport extends StatelessWidget {
|
|||||||
icon: Icons.help_outline,
|
icon: Icons.help_outline,
|
||||||
title: 'Help Center',
|
title: 'Help Center',
|
||||||
subtitle: 'Get help and support',
|
subtitle: 'Get help and support',
|
||||||
onTap: () {
|
onTap: () => context.router.push(ComingSoonRoute()),
|
||||||
// Navigate to help center
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
|
|
||||||
ProfileDivider(),
|
// ProfileDivider(),
|
||||||
|
|
||||||
ProfileTile(
|
|
||||||
icon: Icons.feedback_outlined,
|
|
||||||
title: 'Send Feedback',
|
|
||||||
subtitle: 'Help us improve the app',
|
|
||||||
onTap: () {
|
|
||||||
// Open feedback form
|
|
||||||
},
|
|
||||||
),
|
|
||||||
|
|
||||||
|
// ProfileTile(
|
||||||
|
// icon: Icons.feedback_outlined,
|
||||||
|
// title: 'Send Feedback',
|
||||||
|
// subtitle: 'Help us improve the app',
|
||||||
|
// onTap: () {
|
||||||
|
// // Open feedback form
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
ProfileDivider(),
|
ProfileDivider(),
|
||||||
|
|
||||||
ProfileTile(
|
ProfileTile(
|
||||||
icon: Icons.info_outline,
|
icon: Icons.info_outline,
|
||||||
title: 'About',
|
title: 'About',
|
||||||
subtitle: 'App version and information',
|
subtitle: 'App version and information',
|
||||||
onTap: () {
|
onTap: () => context.router.push(AboutAppRoute()),
|
||||||
// Show about dialog
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@ -63,6 +63,9 @@ class AppRouter extends RootStackRouter {
|
|||||||
AutoRoute(page: ProfileEditRoute.page),
|
AutoRoute(page: ProfileEditRoute.page),
|
||||||
AutoRoute(page: ProfileChangePasswordRoute.page),
|
AutoRoute(page: ProfileChangePasswordRoute.page),
|
||||||
|
|
||||||
|
// About App
|
||||||
|
AutoRoute(page: AboutAppRoute.page),
|
||||||
|
|
||||||
// Error
|
// Error
|
||||||
AutoRoute(page: ErrorRoute.page),
|
AutoRoute(page: ErrorRoute.page),
|
||||||
|
|
||||||
|
|||||||
@ -9,135 +9,153 @@
|
|||||||
// coverage:ignore-file
|
// coverage:ignore-file
|
||||||
|
|
||||||
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
// ignore_for_file: no_leading_underscores_for_library_prefixes
|
||||||
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i27;
|
import 'package:apskel_owner_flutter/domain/order/order.dart' as _i28;
|
||||||
import 'package:apskel_owner_flutter/domain/user/user.dart' as _i28;
|
import 'package:apskel_owner_flutter/domain/user/user.dart' as _i29;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/about_app/about_app_page.dart'
|
||||||
as _i10;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/coming_soon/coming_soon_page.dart'
|
|
||||||
as _i1;
|
as _i1;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/auth/login/login_page.dart'
|
||||||
as _i2;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/download/download_report_page.dart'
|
|
||||||
as _i4;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
|
|
||||||
as _i5;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
|
|
||||||
as _i6;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
|
|
||||||
as _i3;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
|
|
||||||
as _i7;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
|
|
||||||
as _i8;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
|
|
||||||
as _i9;
|
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
|
|
||||||
as _i11;
|
as _i11;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/coming_soon/coming_soon_page.dart'
|
||||||
|
as _i2;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/customer/customer_page.dart'
|
||||||
|
as _i3;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/download/download_report_page.dart'
|
||||||
|
as _i5;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/error/error_page.dart'
|
||||||
|
as _i6;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/finance/finance_page.dart'
|
||||||
|
as _i7;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/form/daily_task_form_page.dart'
|
||||||
|
as _i4;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/home/home_page.dart'
|
||||||
|
as _i8;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/inventory/inventory_page.dart'
|
||||||
|
as _i9;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/language/language_page.dart'
|
||||||
|
as _i10;
|
||||||
|
import 'package:apskel_owner_flutter/presentation/pages/main/main_page.dart'
|
||||||
as _i12;
|
as _i12;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/order/order_detail/order_detail_page.dart'
|
||||||
as _i13;
|
as _i13;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/order/order_list/order_page.dart'
|
||||||
as _i14;
|
as _i14;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/outlet/outlet_information_page.dart'
|
||||||
as _i15;
|
as _i15;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/product/product_analytic/product_analytic_page.dart'
|
||||||
as _i16;
|
as _i16;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_change_password/profile_change_password_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/product/product_list/product_page.dart'
|
||||||
as _i17;
|
as _i17;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_edit/profile_edit_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_change_password/profile_change_password_page.dart'
|
||||||
as _i18;
|
as _i18;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/profile/pages/profile_edit/profile_edit_page.dart'
|
||||||
as _i19;
|
as _i19;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dart'
|
||||||
as _i20;
|
as _i20;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/purchase/purchase_page.dart'
|
||||||
as _i21;
|
as _i21;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||||
as _i22;
|
as _i22;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/sales/sales_page.dart'
|
||||||
as _i23;
|
as _i23;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||||
as _i24;
|
as _i24;
|
||||||
import 'package:auto_route/auto_route.dart' as _i25;
|
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||||
import 'package:flutter/material.dart' as _i26;
|
as _i25;
|
||||||
|
import 'package:auto_route/auto_route.dart' as _i26;
|
||||||
|
import 'package:flutter/material.dart' as _i27;
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i1.ComingSoonPage]
|
/// [_i1.AboutAppPage]
|
||||||
class ComingSoonRoute extends _i25.PageRouteInfo<void> {
|
class AboutAppRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ComingSoonRoute({List<_i25.PageRouteInfo>? children})
|
const AboutAppRoute({List<_i26.PageRouteInfo>? children})
|
||||||
|
: super(AboutAppRoute.name, initialChildren: children);
|
||||||
|
|
||||||
|
static const String name = 'AboutAppRoute';
|
||||||
|
|
||||||
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
|
name,
|
||||||
|
builder: (data) {
|
||||||
|
return const _i1.AboutAppPage();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// generated route for
|
||||||
|
/// [_i2.ComingSoonPage]
|
||||||
|
class ComingSoonRoute extends _i26.PageRouteInfo<void> {
|
||||||
|
const ComingSoonRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ComingSoonRoute.name, initialChildren: children);
|
: super(ComingSoonRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ComingSoonRoute';
|
static const String name = 'ComingSoonRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i1.ComingSoonPage();
|
return const _i2.ComingSoonPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i2.CustomerPage]
|
/// [_i3.CustomerPage]
|
||||||
class CustomerRoute extends _i25.PageRouteInfo<void> {
|
class CustomerRoute extends _i26.PageRouteInfo<void> {
|
||||||
const CustomerRoute({List<_i25.PageRouteInfo>? children})
|
const CustomerRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(CustomerRoute.name, initialChildren: children);
|
: super(CustomerRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'CustomerRoute';
|
static const String name = 'CustomerRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i2.CustomerPage());
|
return _i26.WrappedRoute(child: const _i3.CustomerPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i3.DailyTasksFormPage]
|
/// [_i4.DailyTasksFormPage]
|
||||||
class DailyTasksFormRoute extends _i25.PageRouteInfo<void> {
|
class DailyTasksFormRoute extends _i26.PageRouteInfo<void> {
|
||||||
const DailyTasksFormRoute({List<_i25.PageRouteInfo>? children})
|
const DailyTasksFormRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(DailyTasksFormRoute.name, initialChildren: children);
|
: super(DailyTasksFormRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'DailyTasksFormRoute';
|
static const String name = 'DailyTasksFormRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i3.DailyTasksFormPage();
|
return const _i4.DailyTasksFormPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i4.DownloadReportPage]
|
/// [_i5.DownloadReportPage]
|
||||||
class DownloadReportRoute extends _i25.PageRouteInfo<void> {
|
class DownloadReportRoute extends _i26.PageRouteInfo<void> {
|
||||||
const DownloadReportRoute({List<_i25.PageRouteInfo>? children})
|
const DownloadReportRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(DownloadReportRoute.name, initialChildren: children);
|
: super(DownloadReportRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'DownloadReportRoute';
|
static const String name = 'DownloadReportRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i4.DownloadReportPage();
|
return const _i5.DownloadReportPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i5.ErrorPage]
|
/// [_i6.ErrorPage]
|
||||||
class ErrorRoute extends _i25.PageRouteInfo<ErrorRouteArgs> {
|
class ErrorRoute extends _i26.PageRouteInfo<ErrorRouteArgs> {
|
||||||
ErrorRoute({
|
ErrorRoute({
|
||||||
_i26.Key? key,
|
_i27.Key? key,
|
||||||
String? title,
|
String? title,
|
||||||
String? message,
|
String? message,
|
||||||
_i26.VoidCallback? onRetry,
|
_i27.VoidCallback? onRetry,
|
||||||
_i26.VoidCallback? onBack,
|
_i27.VoidCallback? onBack,
|
||||||
String? errorCode,
|
String? errorCode,
|
||||||
_i26.IconData? errorIcon,
|
_i27.IconData? errorIcon,
|
||||||
List<_i25.PageRouteInfo>? children,
|
List<_i26.PageRouteInfo>? children,
|
||||||
}) : super(
|
}) : super(
|
||||||
ErrorRoute.name,
|
ErrorRoute.name,
|
||||||
args: ErrorRouteArgs(
|
args: ErrorRouteArgs(
|
||||||
@ -154,13 +172,13 @@ class ErrorRoute extends _i25.PageRouteInfo<ErrorRouteArgs> {
|
|||||||
|
|
||||||
static const String name = 'ErrorRoute';
|
static const String name = 'ErrorRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
final args = data.argsAs<ErrorRouteArgs>(
|
final args = data.argsAs<ErrorRouteArgs>(
|
||||||
orElse: () => const ErrorRouteArgs(),
|
orElse: () => const ErrorRouteArgs(),
|
||||||
);
|
);
|
||||||
return _i5.ErrorPage(
|
return _i6.ErrorPage(
|
||||||
key: args.key,
|
key: args.key,
|
||||||
title: args.title,
|
title: args.title,
|
||||||
message: args.message,
|
message: args.message,
|
||||||
@ -184,19 +202,19 @@ class ErrorRouteArgs {
|
|||||||
this.errorIcon,
|
this.errorIcon,
|
||||||
});
|
});
|
||||||
|
|
||||||
final _i26.Key? key;
|
final _i27.Key? key;
|
||||||
|
|
||||||
final String? title;
|
final String? title;
|
||||||
|
|
||||||
final String? message;
|
final String? message;
|
||||||
|
|
||||||
final _i26.VoidCallback? onRetry;
|
final _i27.VoidCallback? onRetry;
|
||||||
|
|
||||||
final _i26.VoidCallback? onBack;
|
final _i27.VoidCallback? onBack;
|
||||||
|
|
||||||
final String? errorCode;
|
final String? errorCode;
|
||||||
|
|
||||||
final _i26.IconData? errorIcon;
|
final _i27.IconData? errorIcon;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString() {
|
||||||
@ -205,108 +223,108 @@ class ErrorRouteArgs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i6.FinancePage]
|
/// [_i7.FinancePage]
|
||||||
class FinanceRoute extends _i25.PageRouteInfo<void> {
|
class FinanceRoute extends _i26.PageRouteInfo<void> {
|
||||||
const FinanceRoute({List<_i25.PageRouteInfo>? children})
|
const FinanceRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(FinanceRoute.name, initialChildren: children);
|
: super(FinanceRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'FinanceRoute';
|
static const String name = 'FinanceRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i6.FinancePage());
|
return _i26.WrappedRoute(child: const _i7.FinancePage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i7.HomePage]
|
/// [_i8.HomePage]
|
||||||
class HomeRoute extends _i25.PageRouteInfo<void> {
|
class HomeRoute extends _i26.PageRouteInfo<void> {
|
||||||
const HomeRoute({List<_i25.PageRouteInfo>? children})
|
const HomeRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(HomeRoute.name, initialChildren: children);
|
: super(HomeRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'HomeRoute';
|
static const String name = 'HomeRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i7.HomePage());
|
return _i26.WrappedRoute(child: const _i8.HomePage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i8.InventoryPage]
|
/// [_i9.InventoryPage]
|
||||||
class InventoryRoute extends _i25.PageRouteInfo<void> {
|
class InventoryRoute extends _i26.PageRouteInfo<void> {
|
||||||
const InventoryRoute({List<_i25.PageRouteInfo>? children})
|
const InventoryRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(InventoryRoute.name, initialChildren: children);
|
: super(InventoryRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'InventoryRoute';
|
static const String name = 'InventoryRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i8.InventoryPage());
|
return _i26.WrappedRoute(child: const _i9.InventoryPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i9.LanguagePage]
|
/// [_i10.LanguagePage]
|
||||||
class LanguageRoute extends _i25.PageRouteInfo<void> {
|
class LanguageRoute extends _i26.PageRouteInfo<void> {
|
||||||
const LanguageRoute({List<_i25.PageRouteInfo>? children})
|
const LanguageRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(LanguageRoute.name, initialChildren: children);
|
: super(LanguageRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'LanguageRoute';
|
static const String name = 'LanguageRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i9.LanguagePage();
|
return const _i10.LanguagePage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i10.LoginPage]
|
/// [_i11.LoginPage]
|
||||||
class LoginRoute extends _i25.PageRouteInfo<void> {
|
class LoginRoute extends _i26.PageRouteInfo<void> {
|
||||||
const LoginRoute({List<_i25.PageRouteInfo>? children})
|
const LoginRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(LoginRoute.name, initialChildren: children);
|
: super(LoginRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'LoginRoute';
|
static const String name = 'LoginRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i10.LoginPage());
|
return _i26.WrappedRoute(child: const _i11.LoginPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i11.MainPage]
|
/// [_i12.MainPage]
|
||||||
class MainRoute extends _i25.PageRouteInfo<void> {
|
class MainRoute extends _i26.PageRouteInfo<void> {
|
||||||
const MainRoute({List<_i25.PageRouteInfo>? children})
|
const MainRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(MainRoute.name, initialChildren: children);
|
: super(MainRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'MainRoute';
|
static const String name = 'MainRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i11.MainPage();
|
return const _i12.MainPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i12.OrderDetailPage]
|
/// [_i13.OrderDetailPage]
|
||||||
class OrderDetailRoute extends _i25.PageRouteInfo<OrderDetailRouteArgs> {
|
class OrderDetailRoute extends _i26.PageRouteInfo<OrderDetailRouteArgs> {
|
||||||
OrderDetailRoute({
|
OrderDetailRoute({
|
||||||
_i26.Key? key,
|
_i27.Key? key,
|
||||||
required _i27.Order order,
|
required _i28.Order order,
|
||||||
List<_i25.PageRouteInfo>? children,
|
List<_i26.PageRouteInfo>? children,
|
||||||
}) : super(
|
}) : super(
|
||||||
OrderDetailRoute.name,
|
OrderDetailRoute.name,
|
||||||
args: OrderDetailRouteArgs(key: key, order: order),
|
args: OrderDetailRouteArgs(key: key, order: order),
|
||||||
@ -315,11 +333,11 @@ class OrderDetailRoute extends _i25.PageRouteInfo<OrderDetailRouteArgs> {
|
|||||||
|
|
||||||
static const String name = 'OrderDetailRoute';
|
static const String name = 'OrderDetailRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
final args = data.argsAs<OrderDetailRouteArgs>();
|
final args = data.argsAs<OrderDetailRouteArgs>();
|
||||||
return _i12.OrderDetailPage(key: args.key, order: args.order);
|
return _i13.OrderDetailPage(key: args.key, order: args.order);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -327,9 +345,9 @@ class OrderDetailRoute extends _i25.PageRouteInfo<OrderDetailRouteArgs> {
|
|||||||
class OrderDetailRouteArgs {
|
class OrderDetailRouteArgs {
|
||||||
const OrderDetailRouteArgs({this.key, required this.order});
|
const OrderDetailRouteArgs({this.key, required this.order});
|
||||||
|
|
||||||
final _i26.Key? key;
|
final _i27.Key? key;
|
||||||
|
|
||||||
final _i27.Order order;
|
final _i28.Order order;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString() {
|
||||||
@ -338,92 +356,92 @@ class OrderDetailRouteArgs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i13.OrderPage]
|
/// [_i14.OrderPage]
|
||||||
class OrderRoute extends _i25.PageRouteInfo<void> {
|
class OrderRoute extends _i26.PageRouteInfo<void> {
|
||||||
const OrderRoute({List<_i25.PageRouteInfo>? children})
|
const OrderRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(OrderRoute.name, initialChildren: children);
|
: super(OrderRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'OrderRoute';
|
static const String name = 'OrderRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i13.OrderPage());
|
return _i26.WrappedRoute(child: const _i14.OrderPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i14.OutletInformationPage]
|
/// [_i15.OutletInformationPage]
|
||||||
class OutletInformationRoute extends _i25.PageRouteInfo<void> {
|
class OutletInformationRoute extends _i26.PageRouteInfo<void> {
|
||||||
const OutletInformationRoute({List<_i25.PageRouteInfo>? children})
|
const OutletInformationRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(OutletInformationRoute.name, initialChildren: children);
|
: super(OutletInformationRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'OutletInformationRoute';
|
static const String name = 'OutletInformationRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i14.OutletInformationPage());
|
return _i26.WrappedRoute(child: const _i15.OutletInformationPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i15.ProductAnalyticPage]
|
/// [_i16.ProductAnalyticPage]
|
||||||
class ProductAnalyticRoute extends _i25.PageRouteInfo<void> {
|
class ProductAnalyticRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ProductAnalyticRoute({List<_i25.PageRouteInfo>? children})
|
const ProductAnalyticRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ProductAnalyticRoute.name, initialChildren: children);
|
: super(ProductAnalyticRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ProductAnalyticRoute';
|
static const String name = 'ProductAnalyticRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i15.ProductAnalyticPage());
|
return _i26.WrappedRoute(child: const _i16.ProductAnalyticPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i16.ProductPage]
|
/// [_i17.ProductPage]
|
||||||
class ProductRoute extends _i25.PageRouteInfo<void> {
|
class ProductRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ProductRoute({List<_i25.PageRouteInfo>? children})
|
const ProductRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ProductRoute.name, initialChildren: children);
|
: super(ProductRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ProductRoute';
|
static const String name = 'ProductRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i16.ProductPage());
|
return _i26.WrappedRoute(child: const _i17.ProductPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i17.ProfileChangePasswordPage]
|
/// [_i18.ProfileChangePasswordPage]
|
||||||
class ProfileChangePasswordRoute extends _i25.PageRouteInfo<void> {
|
class ProfileChangePasswordRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ProfileChangePasswordRoute({List<_i25.PageRouteInfo>? children})
|
const ProfileChangePasswordRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ProfileChangePasswordRoute.name, initialChildren: children);
|
: super(ProfileChangePasswordRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ProfileChangePasswordRoute';
|
static const String name = 'ProfileChangePasswordRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i17.ProfileChangePasswordPage());
|
return _i26.WrappedRoute(child: const _i18.ProfileChangePasswordPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i18.ProfileEditPage]
|
/// [_i19.ProfileEditPage]
|
||||||
class ProfileEditRoute extends _i25.PageRouteInfo<ProfileEditRouteArgs> {
|
class ProfileEditRoute extends _i26.PageRouteInfo<ProfileEditRouteArgs> {
|
||||||
ProfileEditRoute({
|
ProfileEditRoute({
|
||||||
_i26.Key? key,
|
_i27.Key? key,
|
||||||
required _i28.User user,
|
required _i29.User user,
|
||||||
List<_i25.PageRouteInfo>? children,
|
List<_i26.PageRouteInfo>? children,
|
||||||
}) : super(
|
}) : super(
|
||||||
ProfileEditRoute.name,
|
ProfileEditRoute.name,
|
||||||
args: ProfileEditRouteArgs(key: key, user: user),
|
args: ProfileEditRouteArgs(key: key, user: user),
|
||||||
@ -432,12 +450,12 @@ class ProfileEditRoute extends _i25.PageRouteInfo<ProfileEditRouteArgs> {
|
|||||||
|
|
||||||
static const String name = 'ProfileEditRoute';
|
static const String name = 'ProfileEditRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
final args = data.argsAs<ProfileEditRouteArgs>();
|
final args = data.argsAs<ProfileEditRouteArgs>();
|
||||||
return _i25.WrappedRoute(
|
return _i26.WrappedRoute(
|
||||||
child: _i18.ProfileEditPage(key: args.key, user: args.user),
|
child: _i19.ProfileEditPage(key: args.key, user: args.user),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
@ -446,9 +464,9 @@ class ProfileEditRoute extends _i25.PageRouteInfo<ProfileEditRouteArgs> {
|
|||||||
class ProfileEditRouteArgs {
|
class ProfileEditRouteArgs {
|
||||||
const ProfileEditRouteArgs({this.key, required this.user});
|
const ProfileEditRouteArgs({this.key, required this.user});
|
||||||
|
|
||||||
final _i26.Key? key;
|
final _i27.Key? key;
|
||||||
|
|
||||||
final _i28.User user;
|
final _i29.User user;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString() {
|
||||||
@ -457,97 +475,97 @@ class ProfileEditRouteArgs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i19.ProfilePage]
|
/// [_i20.ProfilePage]
|
||||||
class ProfileRoute extends _i25.PageRouteInfo<void> {
|
class ProfileRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ProfileRoute({List<_i25.PageRouteInfo>? children})
|
const ProfileRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ProfileRoute.name, initialChildren: children);
|
: super(ProfileRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ProfileRoute';
|
static const String name = 'ProfileRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i19.ProfilePage());
|
return _i26.WrappedRoute(child: const _i20.ProfilePage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i20.PurchasePage]
|
/// [_i21.PurchasePage]
|
||||||
class PurchaseRoute extends _i25.PageRouteInfo<void> {
|
class PurchaseRoute extends _i26.PageRouteInfo<void> {
|
||||||
const PurchaseRoute({List<_i25.PageRouteInfo>? children})
|
const PurchaseRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(PurchaseRoute.name, initialChildren: children);
|
: super(PurchaseRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'PurchaseRoute';
|
static const String name = 'PurchaseRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i20.PurchasePage();
|
return const _i21.PurchasePage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i21.ReportPage]
|
/// [_i22.ReportPage]
|
||||||
class ReportRoute extends _i25.PageRouteInfo<void> {
|
class ReportRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ReportRoute({List<_i25.PageRouteInfo>? children})
|
const ReportRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ReportRoute.name, initialChildren: children);
|
: super(ReportRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ReportRoute';
|
static const String name = 'ReportRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i21.ReportPage());
|
return _i26.WrappedRoute(child: const _i22.ReportPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i22.SalesPage]
|
/// [_i23.SalesPage]
|
||||||
class SalesRoute extends _i25.PageRouteInfo<void> {
|
class SalesRoute extends _i26.PageRouteInfo<void> {
|
||||||
const SalesRoute({List<_i25.PageRouteInfo>? children})
|
const SalesRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(SalesRoute.name, initialChildren: children);
|
: super(SalesRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'SalesRoute';
|
static const String name = 'SalesRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return _i25.WrappedRoute(child: const _i22.SalesPage());
|
return _i26.WrappedRoute(child: const _i23.SalesPage());
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i23.SchedulePage]
|
/// [_i24.SchedulePage]
|
||||||
class ScheduleRoute extends _i25.PageRouteInfo<void> {
|
class ScheduleRoute extends _i26.PageRouteInfo<void> {
|
||||||
const ScheduleRoute({List<_i25.PageRouteInfo>? children})
|
const ScheduleRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(ScheduleRoute.name, initialChildren: children);
|
: super(ScheduleRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ScheduleRoute';
|
static const String name = 'ScheduleRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i23.SchedulePage();
|
return const _i24.SchedulePage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i24.SplashPage]
|
/// [_i25.SplashPage]
|
||||||
class SplashRoute extends _i25.PageRouteInfo<void> {
|
class SplashRoute extends _i26.PageRouteInfo<void> {
|
||||||
const SplashRoute({List<_i25.PageRouteInfo>? children})
|
const SplashRoute({List<_i26.PageRouteInfo>? children})
|
||||||
: super(SplashRoute.name, initialChildren: children);
|
: super(SplashRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'SplashRoute';
|
static const String name = 'SplashRoute';
|
||||||
|
|
||||||
static _i25.PageInfo page = _i25.PageInfo(
|
static _i26.PageInfo page = _i26.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i24.SplashPage();
|
return const _i25.SplashPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,9 +7,13 @@
|
|||||||
#include "generated_plugin_registrant.h"
|
#include "generated_plugin_registrant.h"
|
||||||
|
|
||||||
#include <file_selector_linux/file_selector_plugin.h>
|
#include <file_selector_linux/file_selector_plugin.h>
|
||||||
|
#include <url_launcher_linux/url_launcher_plugin.h>
|
||||||
|
|
||||||
void fl_register_plugins(FlPluginRegistry* registry) {
|
void fl_register_plugins(FlPluginRegistry* registry) {
|
||||||
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
|
g_autoptr(FlPluginRegistrar) file_selector_linux_registrar =
|
||||||
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin");
|
||||||
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
|
file_selector_plugin_register_with_registrar(file_selector_linux_registrar);
|
||||||
|
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
|
||||||
|
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
|
||||||
|
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
list(APPEND FLUTTER_PLUGIN_LIST
|
list(APPEND FLUTTER_PLUGIN_LIST
|
||||||
file_selector_linux
|
file_selector_linux
|
||||||
|
url_launcher_linux
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||||
|
|||||||
@ -6,17 +6,21 @@ import FlutterMacOS
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
import connectivity_plus
|
import connectivity_plus
|
||||||
|
import device_info_plus
|
||||||
import file_selector_macos
|
import file_selector_macos
|
||||||
import package_info_plus
|
import package_info_plus
|
||||||
import path_provider_foundation
|
import path_provider_foundation
|
||||||
import shared_preferences_foundation
|
import shared_preferences_foundation
|
||||||
import sqflite_darwin
|
import sqflite_darwin
|
||||||
|
import url_launcher_macos
|
||||||
|
|
||||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
|
ConnectivityPlusPlugin.register(with: registry.registrar(forPlugin: "ConnectivityPlusPlugin"))
|
||||||
|
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
|
||||||
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
|
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
|
||||||
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
|
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
|
||||||
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
|
||||||
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
|
||||||
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
|
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
|
||||||
|
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
|
||||||
}
|
}
|
||||||
|
|||||||
88
pubspec.lock
88
pubspec.lock
@ -337,6 +337,22 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.7.11"
|
version: "0.7.11"
|
||||||
|
device_info_plus:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: device_info_plus
|
||||||
|
sha256: "98f28b42168cc509abc92f88518882fd58061ea372d7999aecc424345c7bff6a"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "11.5.0"
|
||||||
|
device_info_plus_platform_interface:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: device_info_plus_platform_interface
|
||||||
|
sha256: e1ea89119e34903dca74b883d0dd78eb762814f97fb6c76f35e9ff74d261a18f
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "7.0.3"
|
||||||
dio:
|
dio:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -1290,6 +1306,70 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.4.0"
|
version: "1.4.0"
|
||||||
|
url_launcher:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: url_launcher
|
||||||
|
sha256: f6a7e5c4835bb4e3026a04793a4199ca2d14c739ec378fdfe23fc8075d0439f8
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.3.2"
|
||||||
|
url_launcher_android:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_android
|
||||||
|
sha256: "0aedad096a85b49df2e4725fa32118f9fa580f3b14af7a2d2221896a02cd5656"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.3.17"
|
||||||
|
url_launcher_ios:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_ios
|
||||||
|
sha256: d80b3f567a617cb923546034cc94bfe44eb15f989fe670b37f26abdb9d939cb7
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.3.4"
|
||||||
|
url_launcher_linux:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_linux
|
||||||
|
sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.2.1"
|
||||||
|
url_launcher_macos:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_macos
|
||||||
|
sha256: c043a77d6600ac9c38300567f33ef12b0ef4f4783a2c1f00231d2b1941fea13f
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.2.3"
|
||||||
|
url_launcher_platform_interface:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_platform_interface
|
||||||
|
sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.3.2"
|
||||||
|
url_launcher_web:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_web
|
||||||
|
sha256: "4bd2b7b4dc4d4d0b94e5babfffbca8eac1a126c7f3d6ecbc1a11013faa3abba2"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.4.1"
|
||||||
|
url_launcher_windows:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: url_launcher_windows
|
||||||
|
sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.1.4"
|
||||||
uuid:
|
uuid:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -1378,6 +1458,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.14.0"
|
version: "5.14.0"
|
||||||
|
win32_registry:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: win32_registry
|
||||||
|
sha256: "6f1b564492d0147b330dd794fee8f512cec4977957f310f9951b5f9d83618dae"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.1.0"
|
||||||
xdg_directories:
|
xdg_directories:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
@ -43,6 +43,8 @@ dependencies:
|
|||||||
shimmer: ^3.0.0
|
shimmer: ^3.0.0
|
||||||
cached_network_image: ^3.4.1
|
cached_network_image: ^3.4.1
|
||||||
syncfusion_flutter_datepicker: ^30.2.5
|
syncfusion_flutter_datepicker: ^30.2.5
|
||||||
|
url_launcher: ^6.3.2
|
||||||
|
device_info_plus: ^11.5.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
@ -8,10 +8,13 @@
|
|||||||
|
|
||||||
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
|
#include <connectivity_plus/connectivity_plus_windows_plugin.h>
|
||||||
#include <file_selector_windows/file_selector_windows.h>
|
#include <file_selector_windows/file_selector_windows.h>
|
||||||
|
#include <url_launcher_windows/url_launcher_windows.h>
|
||||||
|
|
||||||
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
void RegisterPlugins(flutter::PluginRegistry* registry) {
|
||||||
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
ConnectivityPlusWindowsPluginRegisterWithRegistrar(
|
||||||
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin"));
|
||||||
FileSelectorWindowsRegisterWithRegistrar(
|
FileSelectorWindowsRegisterWithRegistrar(
|
||||||
registry->GetRegistrarForPlugin("FileSelectorWindows"));
|
registry->GetRegistrarForPlugin("FileSelectorWindows"));
|
||||||
|
UrlLauncherWindowsRegisterWithRegistrar(
|
||||||
|
registry->GetRegistrarForPlugin("UrlLauncherWindows"));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
list(APPEND FLUTTER_PLUGIN_LIST
|
list(APPEND FLUTTER_PLUGIN_LIST
|
||||||
connectivity_plus
|
connectivity_plus
|
||||||
file_selector_windows
|
file_selector_windows
|
||||||
|
url_launcher_windows
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user