Commit 4080fb75 authored by Budi Prasetyo's avatar Budi Prasetyo

footer pubspec

parent 0461f320
...@@ -10,6 +10,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -10,6 +10,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
leadingWidth: screenSize.width * 0.3, leadingWidth: screenSize.width * 0.3,
leading: Row( leading: Row(
children: [ children: [
Container( Container(
width: screenSize.width * 0.1, width: screenSize.width * 0.1,
), ),
...@@ -18,7 +19,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -18,7 +19,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
Navigator.pushNamed(context, '/'); Navigator.pushNamed(context, '/');
}, },
icon: const Image( icon: const Image(
image: AssetImage('assets/logo/protalent.png'), image: AssetImage('assets/logo/medapp-logo.png'),
width: 500, width: 500,
height: 200, height: 200,
), ),
...@@ -37,7 +38,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -37,7 +38,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
flex: 1, flex: 1,
), ),
ButtonAppbar_baru( ButtonAppbar_baru(
arah: '/service', menu: 'Our Services', warna: ourServices), arah: '/service', menu: 'Our Solution', warna: ourServices),
const Spacer( const Spacer(
flex: 1, flex: 1,
), ),
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:medapp_eksad/appbar/appbar_home.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: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 { class HomePage extends StatefulWidget {
const HomePage({Key? key}) : super(key: key); const HomePage({Key? key}) : super(key: key);
...@@ -14,6 +23,7 @@ class _HomePageState extends State<HomePage> { ...@@ -14,6 +23,7 @@ class _HomePageState extends State<HomePage> {
final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>(); final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
setPageTitle('MeddApp by Eksad', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
key: _scaffoldKey, key: _scaffoldKey,
...@@ -22,7 +32,9 @@ class _HomePageState extends State<HomePage> { ...@@ -22,7 +32,9 @@ class _HomePageState extends State<HomePage> {
: AppbarHomeLarge(screenSize, context, Colors.blue, Colors.blue, : AppbarHomeLarge(screenSize, context, Colors.blue, Colors.blue,
Colors.black, Colors.black, Colors.black), Colors.black, Colors.black, Colors.black),
body: ListView( body: ListView(
children: [
Footer()
],
), ),
); );
} }
...@@ -41,7 +53,7 @@ class _HomePageState extends State<HomePage> { ...@@ -41,7 +53,7 @@ class _HomePageState extends State<HomePage> {
child: SizedBox( child: SizedBox(
height: 50, height: 50,
width: 150, width: 150,
child: Image.asset("assets/logo/logo_protalent.png"), child: Image.asset("assets/logo/medapp-logo.png"),
), ),
), ),
......
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 \nThe East '
'Tower 19th Floor \nJl. Dr. Ide Anak Agung '
'\nGde Agung Blok E3.2 '
'\nMega Kuningan, \nJakarta 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
),
));
}
}
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
#include "generated_plugin_registrant.h" #include "generated_plugin_registrant.h"
#include <url_launcher_linux/url_launcher_plugin.h>
void fl_register_plugins(FlPluginRegistry* registry) { 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);
} }
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
list(APPEND FLUTTER_PLUGIN_LIST list(APPEND FLUTTER_PLUGIN_LIST
url_launcher_linux
) )
list(APPEND FLUTTER_FFI_PLUGIN_LIST list(APPEND FLUTTER_FFI_PLUGIN_LIST
......
...@@ -43,6 +43,13 @@ packages: ...@@ -43,6 +43,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.16.0" version: "1.16.0"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
cupertino_icons: cupertino_icons:
dependency: "direct main" dependency: "direct main"
description: description:
...@@ -57,6 +64,20 @@ packages: ...@@ -57,6 +64,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.3.0" 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: flutter:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
...@@ -74,6 +95,46 @@ packages: ...@@ -74,6 +95,46 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" 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: lints:
dependency: transitive dependency: transitive
description: description:
...@@ -109,6 +170,76 @@ packages: ...@@ -109,6 +170,76 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.1" 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: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
...@@ -156,6 +287,69 @@ packages: ...@@ -156,6 +287,69 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.9" 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: vector_math:
dependency: transitive dependency: transitive
description: description:
...@@ -163,5 +357,20 @@ packages: ...@@ -163,5 +357,20 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.2" 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: sdks:
dart: ">=2.17.5 <3.0.0" dart: ">=2.17.5 <3.0.0"
flutter: ">=3.0.0"
...@@ -30,6 +30,10 @@ dependencies: ...@@ -30,6 +30,10 @@ dependencies:
flutter: flutter:
sdk: 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. # The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons. # Use with the CupertinoIcons class for iOS style icons.
...@@ -57,6 +61,11 @@ flutter: ...@@ -57,6 +61,11 @@ flutter:
# the material Icons class. # the material Icons class.
uses-material-design: true uses-material-design: true
assets:
- assets/icons/
- assets/logo/
- assets/images/
# To add assets to your application, add an assets section, like this: # To add assets to your application, add an assets section, like this:
# assets: # assets:
# - images/a_dot_burr.jpeg # - images/a_dot_burr.jpeg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment