Commit f77903a5 authored by Budi Prasetyo's avatar Budi Prasetyo

home2 , drawer putih , solusi

parent 8120e30b
......@@ -18,9 +18,10 @@ class Home2 extends StatelessWidget {
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Spacer(
flex: 2,
flex: 1,
),
Container(
width: screenSize.width,
......@@ -30,7 +31,9 @@ class Home2 extends StatelessWidget {
color: const Color.fromARGB(255, 12, 66, 101),
fontWeight: FontWeight.bold)),
),
SizedBox(height: 10),
Spacer(
flex: 1,
),
Container(
width: screenSize.width,
height: 100,
......@@ -44,7 +47,9 @@ class Home2 extends StatelessWidget {
height: 1.6,
fontWeight: FontWeight.w500)),
),
SizedBox(height: 10),
Spacer(
flex: 1,
),
Container(
// padding: const EdgeInsets.only(left: 1),
// width: screenSize.width * 0.3,
......@@ -74,7 +79,9 @@ class Home2 extends StatelessWidget {
],
),
),
SizedBox(height: 30),
Spacer(
flex: 1,
),
Container(
width: screenSize.width,
height: 100,
......@@ -90,7 +97,9 @@ class Home2 extends StatelessWidget {
height: 1.6,
fontWeight: FontWeight.w500)),
),
SizedBox(height: 10),
Spacer(
flex: 1,
),
Container(
width: screenSize.width,
height: 100,
......@@ -105,6 +114,9 @@ class Home2 extends StatelessWidget {
height: 1.6,
fontWeight: FontWeight.w500)),
),
Spacer(
flex: 1,
),
],
),
);
......
......@@ -73,7 +73,7 @@ class _SolutionsState extends State<Solutions> {
ElevatedButton ButtonSolution(BuildContext context) {
return ElevatedButton(
onPressed: () {
_scrollToIndex(1500);
_scrollToIndex(500);
},
style: DefaultColors(),
// ElevatedButton.styleFrom(
......
......@@ -10,17 +10,17 @@ class DrawerMedApp extends StatelessWidget {
// backgroundColor: Color.fromARGB(255, 76, 154, 231),
width: 200,
child: Container(
decoration: BoxDecoration(
color: Colors.blue,
gradient: LinearGradient(
colors: [
Colors.blue,
Colors.blue.withOpacity(0.0),
],
stops: [0.0, 1.0],
),
),
// decoration: BoxDecoration(
// color: Colors.blue,
// gradient: LinearGradient(
// colors: [
// Colors.blue,
// Colors.blue.withOpacity(0.0),
//
// ],
// stops: [0.0, 1.0],
// ),
// ),
child: Column(
children: [
const SizedBox(height: 50,),
......
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