Commit b3861ada authored by rizky ramadhan's avatar rizky ramadhan

iseng

parent 015b9c4a
...@@ -5,7 +5,6 @@ import 'package:medapp_eksad/register.dart'; ...@@ -5,7 +5,6 @@ import 'package:medapp_eksad/register.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:medapp_eksad/firebase/firebase_auth_methods.dart'; import 'package:medapp_eksad/firebase/firebase_auth_methods.dart';
AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
Color aboutUs, Color ourServices, Color career, Color contactUs) { Color aboutUs, Color ourServices, Color career, Color contactUs) {
return AppBar( return AppBar(
...@@ -14,7 +13,6 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -14,7 +13,6 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
leadingWidth: screenSize.width * 0.3, leadingWidth: screenSize.width * 0.3,
leading: Row( leading: Row(
children: [ children: [
Container( Container(
width: screenSize.width * 0.1, width: screenSize.width * 0.1,
), ),
...@@ -78,7 +76,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -78,7 +76,7 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
onPrimary: Colors.red, onPrimary: Colors.red,
), ),
child: const Text( child: const Text(
'Register', 'Regist',
style: TextStyle( style: TextStyle(
color: Colors.white, fontSize: 19, fontWeight: FontWeight.w500), color: Colors.white, fontSize: 19, fontWeight: FontWeight.w500),
), ),
...@@ -91,15 +89,21 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home, ...@@ -91,15 +89,21 @@ AppBar AppbarHomeLarge(Size screenSize, BuildContext context, Color home,
); );
} }
AppBar AppbarHomeLargeUser(Size screenSize, BuildContext context, Color home, AppBar AppbarHomeLargeUser(
Color aboutUs, Color ourServices, Color career, Color contactUs,Color demo) { Size screenSize,
BuildContext context,
Color home,
Color aboutUs,
Color ourServices,
Color career,
Color contactUs,
Color demo) {
return AppBar( return AppBar(
backgroundColor: Colors.white, backgroundColor: Colors.white,
toolbarHeight: 80, toolbarHeight: 80,
leadingWidth: screenSize.width * 0.3, leadingWidth: screenSize.width * 0.3,
leading: Row( leading: Row(
children: [ children: [
Container( Container(
width: screenSize.width * 0.1, width: screenSize.width * 0.1,
), ),
...@@ -141,7 +145,9 @@ AppBar AppbarHomeLargeUser(Size screenSize, BuildContext context, Color home, ...@@ -141,7 +145,9 @@ AppBar AppbarHomeLargeUser(Size screenSize, BuildContext context, Color home,
flex: 1, flex: 1,
), ),
ButtonAppbar_baru(arah: '/demo', menu: 'Demo', warna: demo), ButtonAppbar_baru(arah: '/demo', menu: 'Demo', warna: demo),
Spacer(flex: 2,), Spacer(
flex: 2,
),
Container( Container(
width: screenSize.width * 0.006, width: screenSize.width * 0.006,
), ),
...@@ -167,4 +173,4 @@ AppBar AppbarHomeLargeUser(Size screenSize, BuildContext context, Color home, ...@@ -167,4 +173,4 @@ AppBar AppbarHomeLargeUser(Size screenSize, BuildContext context, Color home,
], ],
), ),
); );
} }
\ No newline at end of file
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