Update Icon Apps
|
@ -1,9 +1,9 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
<application
|
<application
|
||||||
android:label="skripsi"
|
android:label="Patrol.In"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/launcher_icon">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
|
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 8.7 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 99 KiB |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 450 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 876 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 704 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 406 B After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 862 B After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 862 B After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 8.1 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 762 B After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 7.3 KiB |
|
@ -13,7 +13,7 @@
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>skripsi</string>
|
<string>Patrol.In</string>
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
|
|
|
@ -2,5 +2,6 @@ class Api {
|
||||||
// static const baseUrl = 'https://skripsinaja.000webhostapp.com/';
|
// static const baseUrl = 'https://skripsinaja.000webhostapp.com/';
|
||||||
// static const baseUrl = 'http://192.168.200.3/patrolin/';
|
// static const baseUrl = 'http://192.168.200.3/patrolin/';
|
||||||
// static const baseUrl = 'http://192.168.1.4/patrolin/';
|
// static const baseUrl = 'http://192.168.1.4/patrolin/';
|
||||||
static const baseUrl = 'http://192.168.1.4/testing/';
|
// static const baseUrl = 'http://192.168.1.4/testing/';
|
||||||
|
static const baseUrl = 'https://patrolin.kakandatech.com/';
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ class _HomePageState extends State<HomePage> {
|
||||||
showSelectedLabels: true,
|
showSelectedLabels: true,
|
||||||
items: const <BottomNavigationBarItem>[
|
items: const <BottomNavigationBarItem>[
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: Icon(Icons.home),
|
icon: Icon(Icons.home_outlined),
|
||||||
label: 'Home',
|
label: 'Home',
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
|
|
|
@ -47,83 +47,72 @@ class _LoginPageState extends State<LoginPage> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: SafeArea(
|
body: SafeArea(
|
||||||
child: Stack(children: [
|
child: SingleChildScrollView(
|
||||||
Padding(
|
child: Stack(children: [
|
||||||
padding: EdgeInsets.only(left: 20.w, right: 20.w),
|
Padding(
|
||||||
child: Column(
|
padding: EdgeInsets.only(left: 20.w, right: 20.w),
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
child: Column(
|
||||||
children: [
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
Image.asset('assets/logo.png'),
|
children: [
|
||||||
SizedBox(
|
Image.asset('assets/icon2.png'),
|
||||||
height: 20.h,
|
CustTextField(
|
||||||
),
|
controller: usernameController,
|
||||||
Text(
|
hint: 'Masukkan Username',
|
||||||
'Patrol.In',
|
),
|
||||||
style: robotoBesarHitam.copyWith(
|
SizedBox(
|
||||||
decoration: TextDecoration.underline,
|
height: 20.h,
|
||||||
decorationColor: blackColor,
|
),
|
||||||
decorationThickness: 1),
|
CustTextFieldPreffSuff(
|
||||||
),
|
controller: passwordController,
|
||||||
SizedBox(
|
hint: 'Masukkan Password',
|
||||||
height: 20.h,
|
),
|
||||||
),
|
SizedBox(
|
||||||
CustTextField(
|
height: 40.h,
|
||||||
controller: usernameController,
|
),
|
||||||
hint: 'Masukkan Username',
|
CustButton(
|
||||||
),
|
|
||||||
SizedBox(
|
|
||||||
height: 20.h,
|
|
||||||
),
|
|
||||||
CustTextFieldPreffSuff(
|
|
||||||
controller: passwordController,
|
|
||||||
hint: 'Masukkan Password',
|
|
||||||
),
|
|
||||||
SizedBox(
|
|
||||||
height: 40.h,
|
|
||||||
),
|
|
||||||
CustButton(
|
|
||||||
onTap: () {
|
|
||||||
// Navigator.push(
|
|
||||||
// context,
|
|
||||||
// MaterialPageRoute(
|
|
||||||
// builder: (context) => const HomePage()));
|
|
||||||
login();
|
|
||||||
},
|
|
||||||
text: 'LOGIN',
|
|
||||||
backgroundColor: primaryColor,
|
|
||||||
width: 120.w,
|
|
||||||
height: 40.h),
|
|
||||||
SizedBox(height: 20.h),
|
|
||||||
Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
children: [
|
|
||||||
Text(
|
|
||||||
'Belum Memiliki Akun?',
|
|
||||||
style: robotoSedangHitam,
|
|
||||||
),
|
|
||||||
SizedBox(width: 8.w),
|
|
||||||
InkWell(
|
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Get.to(const RegisterPage());
|
// Navigator.push(
|
||||||
|
// context,
|
||||||
|
// MaterialPageRoute(
|
||||||
|
// builder: (context) => const HomePage()));
|
||||||
|
login();
|
||||||
},
|
},
|
||||||
child: Text(
|
text: 'LOGIN',
|
||||||
'Mendaftar',
|
backgroundColor: primaryColor,
|
||||||
style:
|
width: 120.w,
|
||||||
robotoSedangHitam.copyWith(color: Colors.blue[400]),
|
height: 40.h),
|
||||||
|
SizedBox(height: 20.h),
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'Belum Memiliki Akun?',
|
||||||
|
style: robotoSedangHitam,
|
||||||
),
|
),
|
||||||
),
|
SizedBox(width: 8.w),
|
||||||
],
|
InkWell(
|
||||||
),
|
onTap: () {
|
||||||
],
|
Get.to(const RegisterPage());
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
'Mendaftar',
|
||||||
|
style: robotoSedangHitam.copyWith(
|
||||||
|
color: Colors.blue[400]),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
Obx(() {
|
||||||
Obx(() {
|
if (cLogin.loading) {
|
||||||
if (cLogin.loading) {
|
return showCustomLoadingDialog(context);
|
||||||
return showCustomLoadingDialog(context);
|
}
|
||||||
}
|
return const SizedBox.shrink();
|
||||||
return const SizedBox.shrink();
|
}),
|
||||||
}),
|
]),
|
||||||
]),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,33 +37,7 @@ class _PatroliPageState extends State<PatroliPage> {
|
||||||
padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 60.w),
|
padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 60.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Image.asset('assets/logo.png', height: 120.w, width: 120.w),
|
Image.asset('assets/icon2.png', height: 200.w, width: 200.w),
|
||||||
SizedBox(height: 8.h),
|
|
||||||
Text(
|
|
||||||
'Patrol.In',
|
|
||||||
style: robotoBesarHitam.copyWith(
|
|
||||||
decoration: TextDecoration.underline,
|
|
||||||
decorationColor: blackColor,
|
|
||||||
decorationThickness: 1),
|
|
||||||
),
|
|
||||||
// SingleChildScrollView(
|
|
||||||
// scrollDirection: Axis.horizontal,
|
|
||||||
// child: Row(
|
|
||||||
// children: [
|
|
||||||
// const StatisticCard(judul: 'Total Daerah', isi: '16'),
|
|
||||||
// SizedBox(width: 12.w),
|
|
||||||
// const StatisticCard(
|
|
||||||
// judul: 'Tingkat Kriminal Rendah', isi: '5'),
|
|
||||||
// SizedBox(width: 12.w),
|
|
||||||
// const StatisticCard(
|
|
||||||
// judul: 'Tingkat Kriminal Sedang', isi: '7'),
|
|
||||||
// SizedBox(width: 12.w),
|
|
||||||
// const StatisticCard(
|
|
||||||
// judul: 'Tingkat Kriminal Tinggi', isi: '4'),
|
|
||||||
// ],
|
|
||||||
// ),
|
|
||||||
// ),
|
|
||||||
SizedBox(height: 16.h),
|
|
||||||
Text('Riwayat Testing',
|
Text('Riwayat Testing',
|
||||||
style: robotoBesarHitam.copyWith(fontWeight: FontWeight.bold)),
|
style: robotoBesarHitam.copyWith(fontWeight: FontWeight.bold)),
|
||||||
const Divider(),
|
const Divider(),
|
||||||
|
|
|
@ -32,16 +32,7 @@ class _ProfilePageState extends State<ProfilePage> {
|
||||||
padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 60.w),
|
padding: EdgeInsets.fromLTRB(10.w, 10.w, 10.w, 60.w),
|
||||||
child: Column(
|
child: Column(
|
||||||
children: [
|
children: [
|
||||||
Image.asset('assets/logo.png', height: 120.w, width: 120.w),
|
Image.asset('assets/icon2.png', height: 200.w, width: 200.w),
|
||||||
SizedBox(height: 8.h),
|
|
||||||
Text(
|
|
||||||
'Patrol.In',
|
|
||||||
style: robotoBesarHitam.copyWith(
|
|
||||||
decoration: TextDecoration.underline,
|
|
||||||
decorationColor: blackColor,
|
|
||||||
decorationThickness: 1),
|
|
||||||
),
|
|
||||||
SizedBox(height: 16.h),
|
|
||||||
Container(
|
Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: secondaryColor,
|
color: secondaryColor,
|
||||||
|
|
|
@ -37,7 +37,7 @@ class _SplashScreenState extends State<SplashScreen> {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
body: Center(child: Image.asset('assets/logo.png')),
|
body: Center(child: Image.asset('assets/icon2.png')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,22 @@
|
||||||
# Generated by pub
|
# Generated by pub
|
||||||
# See https://dart.dev/tools/pub/glossary#lockfile
|
# See https://dart.dev/tools/pub/glossary#lockfile
|
||||||
packages:
|
packages:
|
||||||
|
archive:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: archive
|
||||||
|
sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.6.1"
|
||||||
|
args:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: args
|
||||||
|
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.5.0"
|
||||||
async:
|
async:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -25,6 +41,22 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.0"
|
version: "1.3.0"
|
||||||
|
checked_yaml:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: checked_yaml
|
||||||
|
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "2.0.3"
|
||||||
|
cli_util:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: cli_util
|
||||||
|
sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "0.4.1"
|
||||||
clock:
|
clock:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -102,6 +134,14 @@ packages:
|
||||||
description: flutter
|
description: flutter
|
||||||
source: sdk
|
source: sdk
|
||||||
version: "0.0.0"
|
version: "0.0.0"
|
||||||
|
flutter_launcher_icons:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: flutter_launcher_icons
|
||||||
|
sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "0.13.1"
|
||||||
flutter_lints:
|
flutter_lints:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
|
@ -168,6 +208,22 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.0.2"
|
version: "4.0.2"
|
||||||
|
image:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: image
|
||||||
|
sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "4.2.0"
|
||||||
|
json_annotation:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: json_annotation
|
||||||
|
sha256: "1ce844379ca14835a50d2f019a3099f419082cfdd231cd86a142af94dd5c6bb1"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "4.9.0"
|
||||||
lints:
|
lints:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -256,6 +312,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.2.1"
|
version: "2.2.1"
|
||||||
|
petitparser:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: petitparser
|
||||||
|
sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.0.2"
|
||||||
platform:
|
platform:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -421,6 +485,22 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.4"
|
version: "1.0.4"
|
||||||
|
xml:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: xml
|
||||||
|
sha256: b015a8ad1c488f66851d762d3090a21c600e479dc75e68328c52774040cf9226
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.5.0"
|
||||||
|
yaml:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: yaml
|
||||||
|
sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "3.1.2"
|
||||||
sdks:
|
sdks:
|
||||||
dart: ">=3.2.0 <4.0.0"
|
dart: ">=3.2.0 <4.0.0"
|
||||||
flutter: ">=3.16.0"
|
flutter: ">=3.16.0"
|
||||||
|
|
|
@ -42,6 +42,7 @@ dependencies:
|
||||||
get: ^4.6.6
|
get: ^4.6.6
|
||||||
d_info: ^0.2.0
|
d_info: ^0.2.0
|
||||||
d_view: ^0.0.5
|
d_view: ^0.0.5
|
||||||
|
flutter_launcher_icons: "^0.13.1"
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
@ -54,6 +55,12 @@ dev_dependencies:
|
||||||
# rules and activating additional ones.
|
# rules and activating additional ones.
|
||||||
flutter_lints: ^2.0.0
|
flutter_lints: ^2.0.0
|
||||||
|
|
||||||
|
flutter_launcher_icons:
|
||||||
|
android: "launcher_icon"
|
||||||
|
ios: true
|
||||||
|
image_path: "assets/icon.png"
|
||||||
|
min_sdk_android: 21
|
||||||
|
|
||||||
# For information on the generic Dart part of this file, see the
|
# For information on the generic Dart part of this file, see the
|
||||||
# following page: https://dart.dev/tools/pub/pubspec
|
# following page: https://dart.dev/tools/pub/pubspec
|
||||||
|
|
||||||
|
|