Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
medapp_eksad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qorri_di
medapp_eksad
Commits
4080fb75
Commit
4080fb75
authored
Aug 30, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
footer pubspec
parent
0461f320
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
613 additions
and
4 deletions
+613
-4
medapp-logo.png
assets/logo/medapp-logo.png
+0
-0
appbar_home.dart
lib/appbar/appbar_home.dart
+3
-2
homepage.dart
lib/homepage.dart
+14
-2
footer.dart
lib/screen/footer.dart
+373
-0
generated_plugin_registrant.cc
linux/flutter/generated_plugin_registrant.cc
+4
-0
generated_plugins.cmake
linux/flutter/generated_plugins.cmake
+1
-0
pubspec.lock
pubspec.lock
+209
-0
pubspec.yaml
pubspec.yaml
+9
-0
No files found.
assets/logo/medapp-logo.png
0 → 100644
View file @
4080fb75
7.36 KB
lib/appbar/appbar_home.dart
View file @
4080fb75
...
...
@@ -10,6 +10,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
leadingWidth:
screenSize
.
width
*
0.3
,
leading:
Row
(
children:
[
Container
(
width:
screenSize
.
width
*
0.1
,
),
...
...
@@ -18,7 +19,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
Navigator
.
pushNamed
(
context
,
'/'
);
},
icon:
const
Image
(
image:
AssetImage
(
'assets/logo/
protalent
.png'
),
image:
AssetImage
(
'assets/logo/
medapp-logo
.png'
),
width:
500
,
height:
200
,
),
...
...
@@ -37,7 +38,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
flex:
1
,
),
ButtonAppbar_baru
(
arah:
'/service'
,
menu:
'Our S
ervices
'
,
warna:
ourServices
),
arah:
'/service'
,
menu:
'Our S
olution
'
,
warna:
ourServices
),
const
Spacer
(
flex:
1
,
),
...
...
lib/homepage.dart
View file @
4080fb75
import
'package:flutter/material.dart'
;
import
'package:medapp_eksad/appbar/appbar_home.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:flutter/services.dart'
;
void
setPageTitle
(
String
title
,
BuildContext
context
)
{
SystemChrome
.
setApplicationSwitcherDescription
(
ApplicationSwitcherDescription
(
label:
title
,
primaryColor:
Theme
.
of
(
context
).
primaryColor
.
value
,
// This line is required
));
}
class
HomePage
extends
StatefulWidget
{
const
HomePage
({
Key
?
key
})
:
super
(
key:
key
);
...
...
@@ -14,6 +23,7 @@ class _HomePageState extends State<HomePage> {
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
new
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
setPageTitle
(
'MeddApp by Eksad'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
...
...
@@ -22,7 +32,9 @@ class _HomePageState extends State<HomePage> {
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
blue
,
Colors
.
blue
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
body:
ListView
(
children:
[
Footer
()
],
),
);
}
...
...
@@ -41,7 +53,7 @@ class _HomePageState extends State<HomePage> {
child:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/
logo_protalent
.png"
),
child:
Image
.
asset
(
"assets/logo/
medapp-logo
.png"
),
),
),
...
...
lib/screen/footer.dart
0 → 100644
View file @
4080fb75
import
'package:flutter/material.dart'
;
import
'package:font_awesome_flutter/font_awesome_flutter.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
import
'package:url_launcher/url_launcher.dart'
;
class
Footer
extends
StatelessWidget
{
const
Footer
({
Key
?
key
})
:
super
(
key:
key
);
@override
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Container
(
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.78
,
color:
Colors
.
white
,
child:
Column
(
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
[
const
Divider
(
height:
3
,
thickness:
3
,
),
SizedBox
(
height:
screenSize
.
height
*
0.07
,
),
Container
(
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.55
,
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Container
(
padding:
const
EdgeInsets
.
only
(
left:
5
),
width:
screenSize
.
width
*
0.2
,
height:
screenSize
.
height
*
0.35
,
child:
Column
(
children:
[
Container
(
width:
screenSize
.
width
*
0.12
,
height:
screenSize
.
height
*
0.08
,
decoration:
const
BoxDecoration
(
//color: Colors.lightBlueAccent,
image:
DecorationImage
(
image:
AssetImage
(
'assets/logo/medapp-logo.png'
),
fit:
BoxFit
.
fill
)),
),
const
Spacer
(),
Container
(
width:
screenSize
.
width
*
0.2
,
height:
screenSize
.
height
*
0.05
,
//color: Colors.blue,
child:
const
Center
(
child:
Text
(
'Your one stop IT Solution'
,
textAlign:
TextAlign
.
right
,
style:
TextStyle
(
color:
Colors
.
black87
,
fontWeight:
FontWeight
.
w500
,
letterSpacing:
1.5
,
fontSize:
16
),
),
),
),
const
Spacer
(
flex:
1
,
),
Container
(
width:
screenSize
.
width
*
0.14
,
height:
screenSize
.
height
*
0.03
,
//color: Colors.blue,
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
children:
[
IconButton
(
onPressed:
()
{
launch
(
'https://www.linkedin.com/company/pt-tiga-daya-digital-indonesia-triputra-group-eksad-technology'
);
},
icon:
const
Icon
(
FontAwesomeIcons
.
linkedinIn
,
size:
30
,
),
iconSize:
20
,
),
IconButton
(
onPressed:
()
{
launch
(
'https://twitter.com/eksadtechnology/'
);
},
icon:
const
Icon
(
FontAwesomeIcons
.
twitter
,
size:
30
,
),
iconSize:
20
,
),
IconButton
(
onPressed:
()
{
launch
(
'https://www.instagram.com/eksad_technology/'
);
},
icon:
const
Icon
(
FontAwesomeIcons
.
instagram
,
size:
30
,
),
iconSize:
20
,
),
IconButton
(
onPressed:
()
{
launch
(
'https://www.youtube.com/channel/UCiZgIbpWgrAMrHW-TaS9EPw'
);
},
icon:
const
Icon
(
FontAwesomeIcons
.
youtube
,
size:
30
,
),
iconSize:
20
,
)
],
),
),
const
Spacer
(
flex:
8
,
)
],
)),
Container
(
width:
screenSize
.
width
*
0.13
,
height:
screenSize
.
height
*
0.27
,
//color: Colors.blue,
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
[
Container
(
width:
screenSize
.
width
*
0.13
,
height:
screenSize
.
height
*
0.07
,
child:
Text
(
' Sitemap'
,
style:
GoogleFonts
.
poppins
(
fontSize:
28
,
fontWeight:
FontWeight
.
bold
,
letterSpacing:
1.5
),
),
),
const
Spacer
(
flex:
2
,
),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Home'
,
routeName:
'/'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'About Us'
,
routeName:
'/about'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Service'
,
routeName:
'/service'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Career'
,
routeName:
'/career'
,
),
),
],
)),
Container
(
width:
screenSize
.
width
*
0.13
,
height:
screenSize
.
height
*
0.27
,
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
[
Container
(
width:
screenSize
.
width
*
0.13
,
height:
screenSize
.
height
*
0.07
,
child:
Text
(
' Solutions'
,
style:
GoogleFonts
.
poppins
(
fontSize:
28
,
fontWeight:
FontWeight
.
bold
,
letterSpacing:
1.5
),
),
),
const
Spacer
(
flex:
2
,
),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Retained Search'
,
routeName:
'/service'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Dedicated Services'
,
routeName:
'/service'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Contract Services'
,
routeName:
'/service'
,
),
),
const
Spacer
(),
Container
(
height:
screenSize
.
height
*
0.04
,
child:
const
itemBawah
(
item:
'Recruitment'
,
routeName:
'/service'
,
),
),
],
)),
Container
(
width:
screenSize
.
width
*
0.25
,
height:
screenSize
.
height
*
0.55
,
//color: Colors.blue,
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
mainAxisAlignment:
MainAxisAlignment
.
start
,
children:
[
SizedBox
(
width:
screenSize
.
width
*
0.2
,
height:
screenSize
.
height
*
0.07
,
child:
Text
(
' Contact'
,
style:
GoogleFonts
.
poppins
(
fontSize:
28
,
fontWeight:
FontWeight
.
bold
,
letterSpacing:
1.5
),
),
),
const
SizedBox
(
height:
8
),
Container
(
width:
screenSize
.
width
*
0.2
,
child:
ListTile
(
leading:
const
Icon
(
Icons
.
phone
,
size:
22
,
),
title:
TextButton
(
onPressed:
()
{
launch
(
'tel:02157958040'
);
},
child:
Container
(
height:
screenSize
.
height
*
0.04
,
child:
Text
(
'(021) 5795 - 8040'
,
style:
GoogleFonts
.
poppins
(
fontSize:
16
,
color:
Colors
.
black87
,
),
),
),
),
),
),
Container
(
width:
screenSize
.
width
*
0.2
,
child:
ListTile
(
leading:
const
Icon
(
Icons
.
mail
,
size:
22
,
),
title:
TextButton
(
onPressed:
()
{
launch
(
'mailto:Hello@eksad.com?subject=Hello saya ingin bertanya tentang protalent'
);
},
child:
Container
(
height:
screenSize
.
height
*
0.04
,
child:
Text
(
'Hello@eksad.com'
,
style:
GoogleFonts
.
poppins
(
fontSize:
16
,
color:
Colors
.
black87
),
),
),
),
),
),
Container
(
width:
screenSize
.
width
*
0.25
,
height:
screenSize
.
height
*
0.29
,
child:
ListTile
(
leading:
const
Icon
(
Icons
.
location_on
,
size:
25
,
),
title:
Container
(
padding:
const
EdgeInsets
.
only
(
left:
14
),
width:
screenSize
.
width
*
0.25
,
height:
screenSize
.
height
*
0.3
,
child:
Text
(
'PT. Tiga Daya Digital Indonesia
\n
The East '
'Tower 19th Floor
\n
Jl. Dr. Ide Anak Agung '
'
\n
Gde Agung Blok E3.2 '
'
\n
Mega Kuningan,
\n
Jakarta Selatan 12950'
,
style:
GoogleFonts
.
poppins
(
fontSize:
16
,
height:
1.5
,
),
textAlign:
TextAlign
.
left
,
),
)),
),
],
)),
],
),
),
const
Divider
(
height:
3
,
thickness:
3
,
),
SizedBox
(
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.13
,
child:
const
Center
(
child:
Text
(
'PT. Tiga Daya Digital Indonesia © 2018, All Rights Reserved.'
,
style:
TextStyle
(
letterSpacing:
1.3
,
height:
1.4
,
fontSize:
17
),
)),
)
],
));
}
}
class
itemBawah
extends
StatelessWidget
{
const
itemBawah
({
Key
?
key
,
required
this
.
item
,
required
this
.
routeName
})
:
super
(
key:
key
);
final
String
item
;
final
String
routeName
;
@override
Widget
build
(
BuildContext
context
)
{
return
TextButton
(
onPressed:
()
{
Navigator
.
pushNamed
(
context
,
routeName
);
},
child:
Text
(
item
,
style:
GoogleFonts
.
poppins
(
color:
const
Color
(
0xff1e5ea8
),
//decoration: TextDecoration.underline,
fontSize:
17
,
letterSpacing:
1.2
),
));
}
}
linux/flutter/generated_plugin_registrant.cc
View file @
4080fb75
...
...
@@ -6,6 +6,10 @@
#include "generated_plugin_registrant.h"
#include <url_launcher_linux/url_launcher_plugin.h>
void
fl_register_plugins
(
FlPluginRegistry
*
registry
)
{
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
);
}
linux/flutter/generated_plugins.cmake
View file @
4080fb75
...
...
@@ -3,6 +3,7 @@
#
list
(
APPEND FLUTTER_PLUGIN_LIST
url_launcher_linux
)
list
(
APPEND FLUTTER_FFI_PLUGIN_LIST
...
...
pubspec.lock
View file @
4080fb75
...
...
@@ -43,6 +43,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.16.0"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
cupertino_icons:
dependency: "direct main"
description:
...
...
@@ -57,6 +64,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
ffi:
dependency: transitive
description:
name: ffi
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
file:
dependency: transitive
description:
name: file
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.4"
flutter:
dependency: "direct main"
description: flutter
...
...
@@ -74,6 +95,46 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
font_awesome_flutter:
dependency: "direct main"
description:
name: font_awesome_flutter
url: "https://pub.dartlang.org"
source: hosted
version: "10.1.0"
google_fonts:
dependency: "direct main"
description:
name: google_fonts
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
http:
dependency: transitive
description:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.5"
http_parser:
dependency: transitive
description:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.1"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.4"
lints:
dependency: transitive
description:
...
...
@@ -109,6 +170,76 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
path_provider:
dependency: transitive
description:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.11"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.20"
path_provider_ios:
dependency: transitive
description:
name: path_provider_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.11"
path_provider_linux:
dependency: transitive
description:
name: path_provider_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.7"
path_provider_macos:
dependency: transitive
description:
name: path_provider_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.6"
path_provider_platform_interface:
dependency: transitive
description:
name: path_provider_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
path_provider_windows:
dependency: transitive
description:
name: path_provider_windows
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
platform:
dependency: transitive
description:
name: platform
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
process:
dependency: transitive
description:
name: process
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.4"
sky_engine:
dependency: transitive
description: flutter
...
...
@@ -156,6 +287,69 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.9"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.5"
url_launcher_android:
dependency: transitive
description:
name: url_launcher_android
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.17"
url_launcher_ios:
dependency: transitive
description:
name: url_launcher_ios
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.17"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.13"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
vector_math:
dependency: transitive
description:
...
...
@@ -163,5 +357,20 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.2"
win32:
dependency: transitive
description:
name: win32
url: "https://pub.dartlang.org"
source: hosted
version: "2.7.0"
xdg_directories:
dependency: transitive
description:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0+2"
sdks:
dart: ">=2.17.5 <3.0.0"
flutter: ">=3.0.0"
pubspec.yaml
View file @
4080fb75
...
...
@@ -30,6 +30,10 @@ dependencies:
flutter
:
sdk
:
flutter
url_launcher
:
^6.1.5
google_fonts
:
^3.0.1
font_awesome_flutter
:
^10.1.0
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
...
...
@@ -57,6 +61,11 @@ flutter:
# the material Icons class.
uses-material-design
:
true
assets
:
-
assets/icons/
-
assets/logo/
-
assets/images/
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment