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
6fb6e711
Commit
6fb6e711
authored
Aug 30, 2022
by
Fikri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
home1.dart -update
carerr.dart
parent
26a21866
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
28 deletions
+83
-28
career.jpg
assets/logo/career.jpg
+0
-0
homepage.dart
lib/homepage.dart
+1
-23
main.dart
lib/main.dart
+2
-0
career.dart
lib/screen/career.dart
+61
-0
home1.dart
lib/screen/home/home1.dart
+19
-5
No files found.
assets/logo/career.jpg
0 → 100644
View file @
6fb6e711
140 KB
lib/homepage.dart
View file @
6fb6e711
...
@@ -38,7 +38,7 @@ class _HomePageState extends State<HomePage> {
...
@@ -38,7 +38,7 @@ class _HomePageState extends State<HomePage> {
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
Colors
.
black
,
Colors
.
black
,
Colors
.
black
),
body:
ListView
(
body:
ListView
(
children:
[
children:
[
Home1
(
wijet:
Button_scroll_small
()
),
Home1
(),
Home2
(),
Home2
(),
Home3
(),
Home3
(),
Footer
(),
Footer
(),
...
@@ -47,28 +47,6 @@ class _HomePageState extends State<HomePage> {
...
@@ -47,28 +47,6 @@ class _HomePageState extends State<HomePage> {
);
);
}
}
ScrollController
controller2
=
ScrollController
();
void
_scrollToIndex
(
double
index
)
{
controller2
.
animateTo
(
index
,
duration:
const
Duration
(
seconds:
1
),
curve:
Curves
.
fastLinearToSlowEaseIn
);
}
ElevatedButton
Button_scroll_small
()
{
return
ElevatedButton
(
onPressed:
()
{
_scrollToIndex
(
5110
);
},
style:
ElevatedButton
.
styleFrom
(
primary:
const
Color
(
0xff1e5ea8
),
fixedSize:
Size
(
50
,
20
)),
child:
Text
(
'TAKL WITH EXPERT'
,
style:
GoogleFonts
.
poppins
(
fontSize:
15
,
letterSpacing:
1.5
,
fontWeight:
FontWeight
.
w500
),
),
);
}
AppBar
AppBarKecil
()
{
AppBar
AppBarKecil
()
{
return
AppBar
(
return
AppBar
(
leading:
IconButton
(
leading:
IconButton
(
...
...
lib/main.dart
View file @
6fb6e711
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:medapp_eksad/homepage.dart'
;
import
'package:medapp_eksad/homepage.dart'
;
import
'package:medapp_eksad/screen/career.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'
;
...
@@ -18,6 +19,7 @@ class MyApp extends StatelessWidget {
...
@@ -18,6 +19,7 @@ class MyApp extends StatelessWidget {
initialRoute:
'/'
,
initialRoute:
'/'
,
routes:
{
routes:
{
'/'
:
(
context
)
=>
const
HomePage
(),
'/'
:
(
context
)
=>
const
HomePage
(),
'/career'
:
(
context
)
=>
const
Career
(),
'/solutions'
:
(
context
)
=>
const
Solutions
(),
'/solutions'
:
(
context
)
=>
const
Solutions
(),
'/contact'
:
(
context
)
=>
const
ContactUs
(),
'/contact'
:
(
context
)
=>
const
ContactUs
(),
},
},
...
...
lib/screen/career.dart
0 → 100644
View file @
6fb6e711
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
Career
extends
StatefulWidget
{
const
Career
({
Key
?
key
})
:
super
(
key:
key
);
@override
State
<
Career
>
createState
()
=>
_CareerState
();
}
class
_CareerState
extends
State
<
Career
>
{
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
new
GlobalKey
<
ScaffoldState
>();
@override
Widget
build
(
BuildContext
context
)
{
setPageTitle
(
'MeddApp Career'
,
context
);
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
return
Scaffold
(
key:
_scaffoldKey
,
appBar:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
black
,
Colors
.
blue
,
Colors
.
black
,
Colors
.
black
),
body:
ListView
(
children:
[
Footer
()
],
),
);
}
AppBar
AppBarKecil
()
{
return
AppBar
(
leading:
IconButton
(
onPressed:
()
=>
_scaffoldKey
.
currentState
!.
openDrawer
(),
icon:
Icon
(
Icons
.
list_outlined
,
size:
30
,
color:
Colors
.
black
,),),
backgroundColor:
Colors
.
white
,
centerTitle:
true
,
title:
Container
(
child:
SizedBox
(
height:
50
,
width:
150
,
child:
Image
.
asset
(
"assets/logo/medapp-logo.png"
),
),
),
// ),
);
}
}
lib/screen/home/home1.dart
View file @
6fb6e711
...
@@ -2,11 +2,11 @@ import 'dart:ui';
...
@@ -2,11 +2,11 @@ import 'dart:ui';
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
import
'package:medapp_eksad/widget/button_color.dart'
;
import
'package:show_up_animation/show_up_animation.dart'
;
import
'package:show_up_animation/show_up_animation.dart'
;
class
Home1
extends
StatelessWidget
{
class
Home1
extends
StatelessWidget
{
const
Home1
({
Key
?
key
,
required
this
.
wijet
})
:
super
(
key:
key
);
const
Home1
({
Key
?
key
})
:
super
(
key:
key
);
final
Widget
wijet
;
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
...
@@ -43,7 +43,8 @@ class Home1 extends StatelessWidget {
...
@@ -43,7 +43,8 @@ class Home1 extends StatelessWidget {
// color: Colors.red,
// color: Colors.red,
width:
screenSize
.
width
,
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.6
,
height:
screenSize
.
height
*
0.6
,
padding:
EdgeInsets
.
only
(
left:
screenSize
.
width
*
0.4
,
top:
screenSize
.
height
*
0.2
),
padding:
EdgeInsets
.
only
(
left:
screenSize
.
width
*
0.4
,
top:
screenSize
.
height
*
0.2
),
child:
Column
(
child:
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
crossAxisAlignment:
CrossAxisAlignment
.
center
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
mainAxisAlignment:
MainAxisAlignment
.
spaceEvenly
,
...
@@ -70,7 +71,7 @@ class Home1 extends StatelessWidget {
...
@@ -70,7 +71,7 @@ class Home1 extends StatelessWidget {
// color: Colors.green,
// color: Colors.green,
// padding: EdgeInsets.only(top: 1),
// padding: EdgeInsets.only(top: 1),
width:
screenSize
.
width
*
0.3
,
width:
screenSize
.
width
*
0.3
,
// height: screenSize.height * 0.19,
// height: screenSize.height * 0.19,
child:
ShowUpAnimation
(
child:
ShowUpAnimation
(
delayStart:
const
Duration
(
seconds:
1
),
delayStart:
const
Duration
(
seconds:
1
),
curve:
Curves
.
bounceIn
,
curve:
Curves
.
bounceIn
,
...
@@ -96,7 +97,20 @@ class Home1 extends StatelessWidget {
...
@@ -96,7 +97,20 @@ class Home1 extends StatelessWidget {
curve:
Curves
.
bounceIn
,
curve:
Curves
.
bounceIn
,
direction:
Direction
.
horizontal
,
direction:
Direction
.
horizontal
,
offset:
-
0.2
,
offset:
-
0.2
,
child:
wijet
,
child:
ElevatedButton
(
onPressed:
()
{
Navigator
.
pushNamed
(
context
,
'/contact'
);
},
style:
DefaultColors
(),
child:
const
Text
(
'CONTACT US'
,
style:
TextStyle
(
fontSize:
17
,
letterSpacing:
2
,
color:
Colors
.
white
,
fontWeight:
FontWeight
.
w500
),
),
),
),
),
)
)
],
],
...
...
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