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
caa14fd5
Commit
caa14fd5
authored
Sep 02, 2022
by
Budi Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scroll
parent
9453ef13
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
178 additions
and
35 deletions
+178
-35
login.dart
lib/login.dart
+2
-2
contact_us.dart
lib/screen/contact_us/contact_us.dart
+4
-4
solution.dart
lib/screen/solution.dart
+43
-2
our_solution.dart
lib/screen/solution/our_solution.dart
+128
-26
our_solution3.dart
lib/screen/solution/our_solution3.dart
+1
-1
No files found.
lib/login.dart
View file @
caa14fd5
...
@@ -21,8 +21,8 @@ class _loginState extends State<login> {
...
@@ -21,8 +21,8 @@ class _loginState extends State<login> {
final
formKey
=
GlobalKey
<
FormState
>();
final
formKey
=
GlobalKey
<
FormState
>();
String
_usmail
=
''
;
String
_usmail
=
''
;
String
_uspswd
=
''
;
String
_uspswd
=
''
;
TextEditingController
_editingController
=
TextEditingController
();
final
TextEditingController
_editingController
=
TextEditingController
();
TextEditingController
_editingController2
=
TextEditingController
();
final
TextEditingController
_editingController2
=
TextEditingController
();
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
...
...
lib/screen/contact_us/contact_us.dart
View file @
caa14fd5
...
@@ -37,13 +37,13 @@ class _ContactUsState extends State<ContactUs> {
...
@@ -37,13 +37,13 @@ class _ContactUsState extends State<ContactUs> {
?
AppBarKecil
()
?
AppBarKecil
()
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
black
,
:
AppbarHomeLarge
(
screenSize
,
context
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
,
Colors
.
black
,
Colors
.
blue
),
Colors
.
black
,
Colors
.
black
,
Colors
.
blue
),
drawer:
DrawerMedApp
(),
drawer:
const
DrawerMedApp
(),
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
body:
ResponsiveWidget
.
isSmallScreen
(
context
)
?
ListView
(
?
ListView
(
children:
[
children:
const
[
const
ContactUs1_small
(),
ContactUs1_small
(),
ContactUs2_small
(),
ContactUs2_small
(),
const
FooterSmall
(),
FooterSmall
(),
],
],
)
)
:
ListView
(
:
ListView
(
...
...
lib/screen/solution.dart
View file @
caa14fd5
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/contact_us/contact_us2.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/screen/footer.dart'
;
import
'package:medapp_eksad/screen/solution/our_solution.dart'
;
import
'package:medapp_eksad/screen/solution/our_solution.dart'
;
import
'package:medapp_eksad/screen/solution/our_solution2.dart'
;
import
'package:medapp_eksad/screen/solution/our_solution2.dart'
;
...
@@ -27,6 +28,16 @@ class Solutions extends StatefulWidget {
...
@@ -27,6 +28,16 @@ class Solutions extends StatefulWidget {
class
_SolutionsState
extends
State
<
Solutions
>
{
class
_SolutionsState
extends
State
<
Solutions
>
{
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
GlobalKey
<
ScaffoldState
>();
final
GlobalKey
<
ScaffoldState
>
_scaffoldKey
=
GlobalKey
<
ScaffoldState
>();
ScrollController
controller2
=
ScrollController
();
void
_scrollToIndex
(
double
index
)
{
controller2
.
animateTo
(
index
,
duration:
const
Duration
(
seconds:
1
),
curve:
Curves
.
fastLinearToSlowEaseIn
);
}
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
setPageTitle
(
'MeddApp Solutions'
,
context
);
setPageTitle
(
'MeddApp Solutions'
,
context
);
...
@@ -48,16 +59,46 @@ class _SolutionsState extends State<Solutions> {
...
@@ -48,16 +59,46 @@ class _SolutionsState extends State<Solutions> {
],
],
)
)
:
ListView
(
:
ListView
(
children:
const
[
controller:
controller2
,
OurSolution
(),
children:
[
OurSolution
(
button:
ButtonSolution
(
context
),),
OurSolution2
(),
OurSolution2
(),
OurSolution3
(),
OurSolution3
(),
ContactUs2
(),
Footer
(),
Footer
(),
],
],
),
),
);
);
}
}
ElevatedButton
ButtonSolution
(
BuildContext
context
)
{
return
ElevatedButton
(
onPressed:
()
{
_scrollToIndex
(
1500
);
},
style:
ElevatedButton
.
styleFrom
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
),
),
primary:
Color
.
fromARGB
(
255
,
48
,
104
,
170
),
// shape: MaterialStateProperty.all(RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0))),
),
child:
const
Text
(
'FREE DEMO'
,
style:
TextStyle
(
fontSize:
19
,
fontWeight:
FontWeight
.
w500
,
letterSpacing:
1.1
,
color:
Colors
.
white
),
),
);
}
AppBar
AppBarKecil
()
{
AppBar
AppBarKecil
()
{
return
AppBar
(
return
AppBar
(
leading:
IconButton
(
leading:
IconButton
(
...
...
lib/screen/solution/our_solution.dart
View file @
caa14fd5
...
@@ -2,14 +2,12 @@ import 'package:flutter/material.dart';
...
@@ -2,14 +2,12 @@ import 'package:flutter/material.dart';
import
'package:google_fonts/google_fonts.dart'
;
import
'package:google_fonts/google_fonts.dart'
;
import
'package:show_up_animation/show_up_animation.dart'
;
import
'package:show_up_animation/show_up_animation.dart'
;
class
OurSolution
extends
StatefulWidget
{
const
OurSolution
({
Key
?
key
})
:
super
(
key:
key
);
@override
class
OurSolution
extends
StatelessWidget
{
State
<
OurSolution
>
createState
()
=>
_OurSolutionState
();
const
OurSolution
({
Key
?
key
,
required
this
.
button
})
:
super
(
key:
key
);
}
final
Widget
button
;
class
_OurSolutionState
extends
State
<
OurSolution
>
{
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
var
screenSize
=
MediaQuery
.
of
(
context
).
size
;
...
@@ -88,26 +86,7 @@ class _OurSolutionState extends State<OurSolution> {
...
@@ -88,26 +86,7 @@ class _OurSolutionState extends State<OurSolution> {
curve:
Curves
.
bounceIn
,
curve:
Curves
.
bounceIn
,
direction:
Direction
.
horizontal
,
direction:
Direction
.
horizontal
,
offset:
-
0.2
,
offset:
-
0.2
,
child:
ElevatedButton
(
child:
button
,
onPressed:
()
{
Navigator
.
pushNamed
(
context
,
'/register'
);
},
style:
ElevatedButton
.
styleFrom
(
shape:
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
10
),
),
primary:
Color
.
fromARGB
(
255
,
48
,
104
,
170
),
// shape: MaterialStateProperty.all(RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0))),
),
child:
const
Text
(
'FREE DEMO'
,
style:
TextStyle
(
fontSize:
19
,
fontWeight:
FontWeight
.
w500
,
letterSpacing:
1.1
,
color:
Colors
.
white
),
),
),
),
),
),
),
const
SizedBox
(
const
SizedBox
(
...
@@ -121,3 +100,126 @@ class _OurSolutionState extends State<OurSolution> {
...
@@ -121,3 +100,126 @@ class _OurSolutionState extends State<OurSolution> {
);
);
}
}
}
}
// class OurSolution extends StatefulWidget {
// const OurSolution({Key? key,required this.button}) : super(key: key);
//
// final Widget button;
//
// @override
// State<OurSolution> createState() => _OurSolutionState();
// }
//
// class _OurSolutionState extends State<OurSolution> {
// @override
// Widget build(BuildContext context) {
// var screenSize = MediaQuery.of(context).size;
// return Stack(
// children: [
// Container(
// width: screenSize.width,
// height: screenSize.height * 0.8,
// decoration: const BoxDecoration(
// image: DecorationImage(
// image: AssetImage(
// "assets/images/solution.jpg",
// ),
// alignment: Alignment.topCenter,
// fit: BoxFit.cover),
// ),
// ),
// const SizedBox(
// height: 10,
// ),
// SizedBox(
// width: screenSize.width,
// height: screenSize.height * 0.5,
//
// // ),
// ),
// Container(
// padding: EdgeInsets.only(right: screenSize.width * 0.5),
// child: Center(
// child: Column(
// crossAxisAlignment: CrossAxisAlignment.center,
// mainAxisAlignment: MainAxisAlignment.spaceEvenly,
// children: [
// const SizedBox(height: 70),
// Container(
// height: screenSize.height * 0.10,
// child: ShowUpAnimation(
// delayStart: const Duration(seconds: 1),
// curve: Curves.bounceIn,
// direction: Direction.horizontal,
// offset: -0.2,
// child: Text(
// 'Find & Get the Best Talent',
// style: GoogleFonts.poppins(
// fontSize: 34,
// fontWeight: FontWeight.bold,
// color: Colors.white),
// textAlign: TextAlign.center,
// ),
// ),
// ),
// const SizedBox(height: 10),
// Container(
// width: screenSize.width * 0.28,
// height: screenSize.height * 0.15,
// child: ShowUpAnimation(
// delayStart: const Duration(seconds: 1),
// curve: Curves.decelerate,
// direction: Direction.horizontal,
// child: Text(
// 'Register for free now, find our Best Talent, and enjoy our unlimited hires at a low cost',
// style: GoogleFonts.poppins(
// fontSize: 18,
// letterSpacing: 1.8,
// height: 1.4,
// fontWeight: FontWeight.bold,
// color: Colors.white),
// textAlign: TextAlign.center,
// ),
// ),
// ),
// Container(
// height: 50,
// child: ShowUpAnimation(
// delayStart: const Duration(seconds: 1),
// curve: Curves.bounceIn,
// direction: Direction.horizontal,
// offset: -0.2,
// child: ElevatedButton(
// onPressed: () {
// Navigator.pushNamed(context, '/register');
// },
// style: ElevatedButton.styleFrom(
// shape: RoundedRectangleBorder(
// borderRadius: BorderRadius.circular(10),
// ),
// primary: Color.fromARGB(255, 48, 104, 170),
// // shape: MaterialStateProperty.all(RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0))),
// ),
// child: const Text(
// 'FREE DEMO',
// style: TextStyle(
// fontSize: 19,
// fontWeight: FontWeight.w500,
// letterSpacing: 1.1,
// color: Colors.white),
// ),
// ),
// ),
// ),
// const SizedBox(
// height: 10,
// )
// ],
// ),
// ),
// ),
// ],
// );
// }
// }
lib/screen/solution/our_solution3.dart
View file @
caa14fd5
...
@@ -16,7 +16,7 @@ class _OurSolution3State extends State<OurSolution3> {
...
@@ -16,7 +16,7 @@ class _OurSolution3State extends State<OurSolution3> {
return
Container
(
return
Container
(
padding:
const
EdgeInsets
.
all
(
10
),
padding:
const
EdgeInsets
.
all
(
10
),
width:
screenSize
.
width
,
width:
screenSize
.
width
,
height:
screenSize
.
height
*
0.
75
,
height:
screenSize
.
height
*
0.
83
,
child:
Column
(
child:
Column
(
children:
<
Widget
>[
children:
<
Widget
>[
const
SizedBox
(
const
SizedBox
(
...
...
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