feat: schedule page
This commit is contained in:
parent
b6e4831602
commit
cb45f7db16
@ -75,7 +75,7 @@ class HomeFeature extends StatelessWidget {
|
|||||||
title: 'Jadwal',
|
title: 'Jadwal',
|
||||||
color: const Color(0xFF9C27B0),
|
color: const Color(0xFF9C27B0),
|
||||||
icon: LineIcons.calendar,
|
icon: LineIcons.calendar,
|
||||||
onTap: () {},
|
onTap: () => context.router.push(ScheduleRoute()),
|
||||||
),
|
),
|
||||||
HomeFeatureTile(
|
HomeFeatureTile(
|
||||||
title: 'Aset Tetap',
|
title: 'Aset Tetap',
|
||||||
|
|||||||
1086
lib/presentation/pages/schedule/schedule_page.dart
Normal file
1086
lib/presentation/pages/schedule/schedule_page.dart
Normal file
File diff suppressed because it is too large
Load Diff
@ -27,5 +27,8 @@ class AppRouter extends RootStackRouter {
|
|||||||
|
|
||||||
// Form
|
// Form
|
||||||
AutoRoute(page: DailyTasksFormRoute.page),
|
AutoRoute(page: DailyTasksFormRoute.page),
|
||||||
|
|
||||||
|
// Schedule
|
||||||
|
AutoRoute(page: ScheduleRoute.page),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -23,21 +23,23 @@ import 'package:apskel_owner_flutter/presentation/pages/profile/profile_page.dar
|
|||||||
as _i6;
|
as _i6;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/report/report_page.dart'
|
||||||
as _i7;
|
as _i7;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/schedule/schedule_page.dart'
|
||||||
as _i8;
|
as _i8;
|
||||||
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
|
import 'package:apskel_owner_flutter/presentation/pages/splash/splash_page.dart'
|
||||||
as _i9;
|
as _i9;
|
||||||
import 'package:auto_route/auto_route.dart' as _i10;
|
import 'package:apskel_owner_flutter/presentation/pages/transaction/transaction_page.dart'
|
||||||
|
as _i10;
|
||||||
|
import 'package:auto_route/auto_route.dart' as _i11;
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i1.DailyTasksFormPage]
|
/// [_i1.DailyTasksFormPage]
|
||||||
class DailyTasksFormRoute extends _i10.PageRouteInfo<void> {
|
class DailyTasksFormRoute extends _i11.PageRouteInfo<void> {
|
||||||
const DailyTasksFormRoute({List<_i10.PageRouteInfo>? children})
|
const DailyTasksFormRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(DailyTasksFormRoute.name, initialChildren: children);
|
: super(DailyTasksFormRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'DailyTasksFormRoute';
|
static const String name = 'DailyTasksFormRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i1.DailyTasksFormPage();
|
return const _i1.DailyTasksFormPage();
|
||||||
@ -47,13 +49,13 @@ class DailyTasksFormRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i2.HomePage]
|
/// [_i2.HomePage]
|
||||||
class HomeRoute extends _i10.PageRouteInfo<void> {
|
class HomeRoute extends _i11.PageRouteInfo<void> {
|
||||||
const HomeRoute({List<_i10.PageRouteInfo>? children})
|
const HomeRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(HomeRoute.name, initialChildren: children);
|
: super(HomeRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'HomeRoute';
|
static const String name = 'HomeRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i2.HomePage();
|
return const _i2.HomePage();
|
||||||
@ -63,13 +65,13 @@ class HomeRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i3.LanguagePage]
|
/// [_i3.LanguagePage]
|
||||||
class LanguageRoute extends _i10.PageRouteInfo<void> {
|
class LanguageRoute extends _i11.PageRouteInfo<void> {
|
||||||
const LanguageRoute({List<_i10.PageRouteInfo>? children})
|
const LanguageRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(LanguageRoute.name, initialChildren: children);
|
: super(LanguageRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'LanguageRoute';
|
static const String name = 'LanguageRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i3.LanguagePage();
|
return const _i3.LanguagePage();
|
||||||
@ -79,13 +81,13 @@ class LanguageRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i4.LoginPage]
|
/// [_i4.LoginPage]
|
||||||
class LoginRoute extends _i10.PageRouteInfo<void> {
|
class LoginRoute extends _i11.PageRouteInfo<void> {
|
||||||
const LoginRoute({List<_i10.PageRouteInfo>? children})
|
const LoginRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(LoginRoute.name, initialChildren: children);
|
: super(LoginRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'LoginRoute';
|
static const String name = 'LoginRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i4.LoginPage();
|
return const _i4.LoginPage();
|
||||||
@ -95,13 +97,13 @@ class LoginRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i5.MainPage]
|
/// [_i5.MainPage]
|
||||||
class MainRoute extends _i10.PageRouteInfo<void> {
|
class MainRoute extends _i11.PageRouteInfo<void> {
|
||||||
const MainRoute({List<_i10.PageRouteInfo>? children})
|
const MainRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(MainRoute.name, initialChildren: children);
|
: super(MainRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'MainRoute';
|
static const String name = 'MainRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i5.MainPage();
|
return const _i5.MainPage();
|
||||||
@ -111,13 +113,13 @@ class MainRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i6.ProfilePage]
|
/// [_i6.ProfilePage]
|
||||||
class ProfileRoute extends _i10.PageRouteInfo<void> {
|
class ProfileRoute extends _i11.PageRouteInfo<void> {
|
||||||
const ProfileRoute({List<_i10.PageRouteInfo>? children})
|
const ProfileRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(ProfileRoute.name, initialChildren: children);
|
: super(ProfileRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ProfileRoute';
|
static const String name = 'ProfileRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i6.ProfilePage();
|
return const _i6.ProfilePage();
|
||||||
@ -127,13 +129,13 @@ class ProfileRoute extends _i10.PageRouteInfo<void> {
|
|||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i7.ReportPage]
|
/// [_i7.ReportPage]
|
||||||
class ReportRoute extends _i10.PageRouteInfo<void> {
|
class ReportRoute extends _i11.PageRouteInfo<void> {
|
||||||
const ReportRoute({List<_i10.PageRouteInfo>? children})
|
const ReportRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(ReportRoute.name, initialChildren: children);
|
: super(ReportRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'ReportRoute';
|
static const String name = 'ReportRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i7.ReportPage();
|
return const _i7.ReportPage();
|
||||||
@ -142,33 +144,49 @@ class ReportRoute extends _i10.PageRouteInfo<void> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i8.SplashPage]
|
/// [_i8.SchedulePage]
|
||||||
class SplashRoute extends _i10.PageRouteInfo<void> {
|
class ScheduleRoute extends _i11.PageRouteInfo<void> {
|
||||||
const SplashRoute({List<_i10.PageRouteInfo>? children})
|
const ScheduleRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(SplashRoute.name, initialChildren: children);
|
: super(ScheduleRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'SplashRoute';
|
static const String name = 'ScheduleRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i8.SplashPage();
|
return const _i8.SchedulePage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// generated route for
|
/// generated route for
|
||||||
/// [_i9.TransactionPage]
|
/// [_i9.SplashPage]
|
||||||
class TransactionRoute extends _i10.PageRouteInfo<void> {
|
class SplashRoute extends _i11.PageRouteInfo<void> {
|
||||||
const TransactionRoute({List<_i10.PageRouteInfo>? children})
|
const SplashRoute({List<_i11.PageRouteInfo>? children})
|
||||||
|
: super(SplashRoute.name, initialChildren: children);
|
||||||
|
|
||||||
|
static const String name = 'SplashRoute';
|
||||||
|
|
||||||
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
|
name,
|
||||||
|
builder: (data) {
|
||||||
|
return const _i9.SplashPage();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// generated route for
|
||||||
|
/// [_i10.TransactionPage]
|
||||||
|
class TransactionRoute extends _i11.PageRouteInfo<void> {
|
||||||
|
const TransactionRoute({List<_i11.PageRouteInfo>? children})
|
||||||
: super(TransactionRoute.name, initialChildren: children);
|
: super(TransactionRoute.name, initialChildren: children);
|
||||||
|
|
||||||
static const String name = 'TransactionRoute';
|
static const String name = 'TransactionRoute';
|
||||||
|
|
||||||
static _i10.PageInfo page = _i10.PageInfo(
|
static _i11.PageInfo page = _i11.PageInfo(
|
||||||
name,
|
name,
|
||||||
builder: (data) {
|
builder: (data) {
|
||||||
return const _i9.TransactionPage();
|
return const _i10.TransactionPage();
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
16
pubspec.lock
16
pubspec.lock
@ -1013,6 +1013,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.0.0"
|
version: "3.0.0"
|
||||||
|
simple_gesture_detector:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: simple_gesture_detector
|
||||||
|
sha256: ba2cd5af24ff20a0b8d609cec3f40e5b0744d2a71804a2616ae086b9c19d19a3
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "0.2.1"
|
||||||
sky_engine:
|
sky_engine:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description: flutter
|
description: flutter
|
||||||
@ -1074,6 +1082,14 @@ packages:
|
|||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.4.1"
|
version: "1.4.1"
|
||||||
|
table_calendar:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: table_calendar
|
||||||
|
sha256: "0c0c6219878b363a2d5f40c7afb159d845f253d061dc3c822aa0d5fe0f721982"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.2.0"
|
||||||
term_glyph:
|
term_glyph:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
@ -37,6 +37,7 @@ dependencies:
|
|||||||
another_flushbar: ^1.12.30
|
another_flushbar: ^1.12.30
|
||||||
flutter_bloc: ^9.1.1
|
flutter_bloc: ^9.1.1
|
||||||
image_picker: ^1.1.2
|
image_picker: ^1.1.2
|
||||||
|
table_calendar: ^3.2.0
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user