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
56fc8238
Commit
56fc8238
authored
Sep 21, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some configure
parent
faec2b60
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
98 additions
and
4 deletions
+98
-4
appbar_home.dart
lib/appbar/appbar_home.dart
+1
-1
admin_contact.dart
lib/dashboard/admin/admin_contact.dart
+1
-1
admin_userControl.dart
lib/dashboard/admin/admin_userControl.dart
+1
-1
main.dart
lib/main.dart
+2
-1
about_us.dart
lib/screen/about_us.dart
+93
-0
No files found.
lib/appbar/appbar_home.dart
View file @
56fc8238
...
@@ -34,7 +34,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
...
@@ -34,7 +34,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
const
Spacer
(
const
Spacer
(
flex:
1
,
flex:
1
,
),
),
ButtonAppbar_baru
(
arah:
'/'
,
menu:
'About Us'
,
warna:
aboutUs
),
ButtonAppbar_baru
(
arah:
'/
about
'
,
menu:
'About Us'
,
warna:
aboutUs
),
const
Spacer
(
const
Spacer
(
flex:
1
,
flex:
1
,
),
),
...
...
lib/dashboard/admin/admin_contact.dart
View file @
56fc8238
...
@@ -75,7 +75,7 @@ class _Dashboard4State extends State<Dashboard4> {
...
@@ -75,7 +75,7 @@ class _Dashboard4State extends State<Dashboard4> {
// ),
// ),
Container
(
Container
(
height:
screenSize
.
height
*
0.6
5
,
height:
screenSize
.
height
*
0.6
,
child:
ListView
(
child:
ListView
(
controller:
ScrollController
(),
controller:
ScrollController
(),
children:
[
children:
[
...
...
lib/dashboard/admin/admin_userControl.dart
View file @
56fc8238
...
@@ -60,7 +60,7 @@ class _UserControlState extends State<UserControl> {
...
@@ -60,7 +60,7 @@ class _UserControlState extends State<UserControl> {
),
),
),
),
Container
(
Container
(
height:
screenSize
.
height
*
0.6
5
,
height:
screenSize
.
height
*
0.6
,
child:
ListView
(
child:
ListView
(
controller:
ScrollController
(),
controller:
ScrollController
(),
children:
[
children:
[
...
...
lib/main.dart
View file @
56fc8238
...
@@ -9,6 +9,7 @@ import 'package:medapp_eksad/homepage.dart';
...
@@ -9,6 +9,7 @@ import 'package:medapp_eksad/homepage.dart';
import
'package:medapp_eksad/login.dart'
;
import
'package:medapp_eksad/login.dart'
;
import
'package:medapp_eksad/register.dart'
;
import
'package:medapp_eksad/register.dart'
;
import
'package:medapp_eksad/register_pic.dart'
;
import
'package:medapp_eksad/register_pic.dart'
;
import
'package:medapp_eksad/screen/about_us.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us.dart'
;
import
'package:medapp_eksad/screen/solution.dart'
;
import
'package:medapp_eksad/screen/solution.dart'
;
import
'package:medapp_eksad/screen_user/demo_user.dart'
;
import
'package:medapp_eksad/screen_user/demo_user.dart'
;
...
@@ -43,7 +44,7 @@ class MyApp extends StatelessWidget {
...
@@ -43,7 +44,7 @@ class MyApp extends StatelessWidget {
initialRoute:
'/'
,
initialRoute:
'/'
,
routes:
{
routes:
{
'/'
:
(
context
)
=>
const
HomePage
(),
'/'
:
(
context
)
=>
const
HomePage
(),
'/about'
:
(
context
)
=>
const
HomePage
(),
'/about'
:
(
context
)
=>
const
AboutUs
(),
'/solutions'
:
(
context
)
=>
const
Solutions
(),
'/solutions'
:
(
context
)
=>
const
Solutions
(),
'/contact'
:
(
context
)
=>
const
ContactUs
(),
'/contact'
:
(
context
)
=>
const
ContactUs
(),
'/login'
:
(
context
)
=>
const
SignIn
(),
'/login'
:
(
context
)
=>
const
SignIn
(),
...
...
lib/screen/about_us.dart
0 → 100644
View file @
56fc8238
import
'package:flutter/material.dart'
;
import
'package:medapp_eksad/appbar/appbar_home.dart'
;
import
'package:medapp_eksad/screen_small/small_contact/small_contact_us2.dart'
;
import
'package:medapp_eksad/screen/contact_us/contact_us2.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/screen/home/home1.dart'
;
import
'package:medapp_eksad/screen/home/home2.dart'
;
import
'package:medapp_eksad/screen/home/home3.dart'
;
import
'package:medapp_eksad/screen/home/home4.dart'
;
import
'package:medapp_eksad/screen_small/small_footer.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home1.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home2.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home3.dart'
;
import
'package:medapp_eksad/screen_small/small_home/small_home4.dart'
;
import
'package:medapp_eksad/widget/drawer.dart'
;
import
'package:medapp_eksad/widget/responsive.dart'
;
import
'package:medapp_eksad/widget/whatsapp.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
AboutUs
extends
StatefulWidget
{
const
AboutUs
({
Key
?
key
})
:
super
(
key:
key
);
@override
State
<
AboutUs
>
createState
()
=>
_AboutUsState
();
}
class
_AboutUsState
extends
State
<
AboutUs
>
{
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
new
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
setPageTitle
(
'About Us'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
floatingActionButton:
WAChat
(),
appBar:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
blue
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
drawer:
const
DrawerMedApp
(),
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
ListView
(
children:
const
[
SmallHome1
(),
SmallHome2
(),
SmallHome3
(),
SmallHome4
(),
ContactUs2_small
(),
FooterSmall
(),
],
)
:
ListView
(
children:
[
const
Home1
(),
const
Home2
(),
const
Home3
(),
const
Home4
(),
ContactUs2
(),
const
Footer
(),
],
),
);
}
AppBar
AppBarKecil
()
{
return
AppBar
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
const
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,
),
),
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
title:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
// ),
);
}
}
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