Commit 2fcb09b1 authored by Arham Aulia Nugraha's avatar Arham Aulia Nugraha

apa hayoh

parent 4878fd74
...@@ -20,7 +20,7 @@ class ContactUs2 extends StatelessWidget { ...@@ -20,7 +20,7 @@ class ContactUs2 extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Container( return Container(
height: 480, height: 500,
width: screenSize.width, width: screenSize.width,
// color: Colors.blue, // color: Colors.blue,
decoration: const BoxDecoration( decoration: const BoxDecoration(
......
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:medapp_eksad/widget/button_color.dart';
class Home4 extends StatelessWidget { class Home4 extends StatelessWidget {
const Home4({Key? key}) : super(key: key); const Home4({Key? key}) : super(key: key);
...@@ -68,23 +69,44 @@ class Home4 extends StatelessWidget { ...@@ -68,23 +69,44 @@ class Home4 extends StatelessWidget {
height : 50, height : 50,
width : 200, width : 200,
child: ElevatedButton( child: ElevatedButton(
onPressed: (){}, onPressed: (){},
style: ElevatedButton.styleFrom( style: ElevatedButton.styleFrom(
primary: Colors.blue[900], primary: Colors.blue[900],
fixedSize: Size(170, 85),
onPrimary: Colors.white, onPrimary: Colors.white,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(30), borderRadius: BorderRadius.all(Radius.circular(30)
) )
) ),
side: BorderSide(
color: Colors.white
),
fixedSize: Size(170, 85),
), ),
child: Text("LEARN MORE", child: Text('LEARN MORE',
style: TextStyle( style: TextStyle(
fontSize: 18, fontSize: 18,
letterSpacing: 2 letterSpacing: 2
),
), ),
),
), ),
// child: ElevatedButton(
// onPressed: (){},
// style: ElevatedButton.styleFrom(
// primary: Colors.blue[900],
// fixedSize: Size(170, 85),
// onPrimary: Colors.white,
// shape: RoundedRectangleBorder(
// borderRadius: BorderRadius.all(Radius.circular(30),
// )
// )
// ),
// child: Text("LEARN MORE",
// style: TextStyle(
// fontSize: 18,
// letterSpacing: 2
// ),
// ),
// ),
), ),
], ],
), ),
......
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