Commit 747fc7cd authored by Ade Fikriatul  Ilmi's avatar Ade Fikriatul Ilmi

ubah site title

parent 80179414
...@@ -37,7 +37,7 @@ class _SignInState extends State<SignIn> { ...@@ -37,7 +37,7 @@ class _SignInState extends State<SignIn> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// setPageTitle('Login MedApps', context); setPageTitle('Login MedApps', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
body: Stack( body: Stack(
......
...@@ -54,7 +54,7 @@ class _AboutUsState extends State<AboutUs> { ...@@ -54,7 +54,7 @@ class _AboutUsState extends State<AboutUs> {
final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>(); final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// setPageTitle('About Us', context); setPageTitle('About Us', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
key: _scaffoldKey, key: _scaffoldKey,
...@@ -67,14 +67,7 @@ class _AboutUsState extends State<AboutUs> { ...@@ -67,14 +67,7 @@ class _AboutUsState extends State<AboutUs> {
body: ResponsiveWidget.isSmallScreen(context) body: ResponsiveWidget.isSmallScreen(context)
? Stack( ? Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
controller: controller2, controller: controller2,
children: [ children: [
...@@ -86,22 +79,11 @@ class _AboutUsState extends State<AboutUs> { ...@@ -86,22 +79,11 @@ class _AboutUsState extends State<AboutUs> {
FooterSmall(), FooterSmall(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
) )
: Stack( : Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
controller: controller2, controller: controller2,
children: [ children: [
...@@ -113,10 +95,6 @@ class _AboutUsState extends State<AboutUs> { ...@@ -113,10 +95,6 @@ class _AboutUsState extends State<AboutUs> {
Footer(), Footer(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
), ),
); );
......
...@@ -48,7 +48,7 @@ class _ContactUsState extends State<ContactUs> { ...@@ -48,7 +48,7 @@ class _ContactUsState extends State<ContactUs> {
final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>(); final GlobalKey<ScaffoldState> _scaffoldKey = GlobalKey<ScaffoldState>();
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// setPageTitle('Contact Us', context); setPageTitle('Contact Us', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
key: _scaffoldKey, key: _scaffoldKey,
...@@ -60,14 +60,7 @@ class _ContactUsState extends State<ContactUs> { ...@@ -60,14 +60,7 @@ class _ContactUsState extends State<ContactUs> {
body: ResponsiveWidget.isSmallScreen(context) body: ResponsiveWidget.isSmallScreen(context)
? Stack( ? Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
controller: controller2, controller: controller2,
children: [ children: [
...@@ -76,22 +69,11 @@ class _ContactUsState extends State<ContactUs> { ...@@ -76,22 +69,11 @@ class _ContactUsState extends State<ContactUs> {
FooterSmall(), FooterSmall(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
) )
: Stack( : Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
controller: controller2, controller: controller2,
children: [ children: [
...@@ -100,10 +82,6 @@ class _ContactUsState extends State<ContactUs> { ...@@ -100,10 +82,6 @@ class _ContactUsState extends State<ContactUs> {
Footer(), Footer(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
), ),
floatingActionButtonLocation: FloatingActionButtonLocation.endFloat, floatingActionButtonLocation: FloatingActionButtonLocation.endFloat,
......
...@@ -42,7 +42,7 @@ class _SolutionsState extends State<Solutions> { ...@@ -42,7 +42,7 @@ class _SolutionsState extends State<Solutions> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// setPageTitle('MeddApp Solutions', context); setPageTitle('Our Solutions', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
return Scaffold( return Scaffold(
key: _scaffoldKey, key: _scaffoldKey,
...@@ -55,14 +55,7 @@ class _SolutionsState extends State<Solutions> { ...@@ -55,14 +55,7 @@ class _SolutionsState extends State<Solutions> {
body: ResponsiveWidget.isSmallScreen(context) body: ResponsiveWidget.isSmallScreen(context)
? Stack( ? Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
scrollDirection: Axis.vertical, scrollDirection: Axis.vertical,
controller: controller2, controller: controller2,
children: [ children: [
...@@ -71,22 +64,11 @@ class _SolutionsState extends State<Solutions> { ...@@ -71,22 +64,11 @@ class _SolutionsState extends State<Solutions> {
FooterSmall(), FooterSmall(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
) )
: Stack( : Stack(
children: [ children: [
FutureBuilder<dynamic>( ListView(
future: getSettingDesc2(),
builder: (BuildContext context, AsyncSnapshot snapshot) {
var pgm = snapshot.data[0];
return Title(
title: pgm['title'],
color: Colors.white,
child: ListView(
controller: controller2, controller: controller2,
children: [ children: [
OurSolution( OurSolution(
...@@ -98,10 +80,6 @@ class _SolutionsState extends State<Solutions> { ...@@ -98,10 +80,6 @@ class _SolutionsState extends State<Solutions> {
Footer(), Footer(),
], ],
), ),
);
},
),
ScrollUpButton(controller2),
], ],
), ),
); );
......
...@@ -30,7 +30,7 @@ class _DemoUserState extends State<DemoUser> { ...@@ -30,7 +30,7 @@ class _DemoUserState extends State<DemoUser> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
// setPageTitle('Free Demo Medapp', context); setPageTitle('Demo', context);
var screenSize = MediaQuery.of(context).size; var screenSize = MediaQuery.of(context).size;
final user = context.read<FirebaseAuthMethods>().user; final user = context.read<FirebaseAuthMethods>().user;
final String mail = user.email!; final String mail = user.email!;
......
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