Font, color & font size change single file
This commit is contained in:
parent
fcdd325652
commit
b757eac099
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:openclosenew/businessaddedsuccess.dart';
|
import 'package:openclosenew/businessaddedsuccess.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'colors.dart';
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class addbusiness extends StatefulWidget {
|
class addbusiness extends StatefulWidget {
|
||||||
addbusiness({Key? key}) : super(key: key);
|
addbusiness({Key? key}) : super(key: key);
|
||||||
@ -74,9 +76,9 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
Text(
|
Text(
|
||||||
'Add Business',
|
'Add Business',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
fontFamily: Font,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -95,10 +97,11 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
Text(
|
Text(
|
||||||
'Uploading Logo',
|
'Uploading Logo',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: Gray,
|
color: Gray,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontFamily: 'Manrope'),
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -121,8 +124,8 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Business Name',
|
'Business Name',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -152,8 +155,8 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Contact Number',
|
'Contact Number',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -181,8 +184,8 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Tell about your business...',
|
'Tell about your business...',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -214,14 +217,21 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'Industry',
|
'Industry',
|
||||||
style: TextStyle(color: DarkGray),
|
style: TextStyle(
|
||||||
|
color: DarkGray,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
width: 120,
|
width: 120,
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
'Category',
|
'Category',
|
||||||
style: TextStyle(color: DarkGray),
|
style: TextStyle(
|
||||||
|
color: DarkGray,
|
||||||
|
fontFamily: Font,
|
||||||
|
fontSize: HeadText),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
@ -304,8 +314,8 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Address',
|
'Address',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -352,7 +362,11 @@ class _addbusinessState extends State<addbusiness> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Save',
|
'Save',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_switch/flutter_switch.dart';
|
import 'package:flutter_switch/flutter_switch.dart';
|
||||||
import '07_addbusiness.dart';
|
import '07_addbusiness.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'businessdetail.dart';
|
import 'businessdetail.dart';
|
||||||
import 'colors.dart';
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class businesshome extends StatefulWidget {
|
class businesshome extends StatefulWidget {
|
||||||
const businesshome({Key? key}) : super(key: key);
|
const businesshome({Key? key}) : super(key: key);
|
||||||
@ -52,8 +54,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
'Hi, Sudharsan',
|
'Hi, Sudharsan',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
fontSize: 16,
|
fontSize: HeadText,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
),
|
),
|
||||||
@ -61,10 +63,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Text(
|
Text(
|
||||||
'Mon, 02 May 2022',
|
'Mon, 02 May 2022',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 11,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -119,30 +121,30 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Text(
|
Text(
|
||||||
"Today",
|
"Today",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"42",
|
"42",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 26,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Visitors viewed Barbeque Nation",
|
"Visitors viewed Barbeque Nation",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -182,30 +184,30 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Text(
|
Text(
|
||||||
"Today",
|
"Today",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"42",
|
"42",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 26,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Visitors viewed Barbeque Nation",
|
"Visitors viewed Barbeque Nation",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -245,30 +247,30 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
Text(
|
Text(
|
||||||
"Today",
|
"Today",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"42",
|
"42",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 26,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Visitors viewed Barbeque Nation",
|
"Visitors viewed Barbeque Nation",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -288,8 +290,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'My Businesses',
|
'My Businesses',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: HeadText,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
@ -308,10 +310,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
label: Text(
|
label: Text(
|
||||||
"Add Business",
|
"Add Business",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -373,20 +375,20 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
text: "Barbeque Nation ",
|
text: "Barbeque Nation ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 18,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: "4.2 ",
|
text: "4.2 ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -407,7 +409,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
valueFontSize: 15,
|
valueFontSize: HeadText,
|
||||||
toggleSize: 25,
|
toggleSize: 25,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
@ -447,10 +449,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: "Town Hall, Coimbatore",
|
text: "Town Hall, Coimbatore",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -509,20 +511,20 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
text: "Barbeque Nation ",
|
text: "Barbeque Nation ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 18,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: "4.2 ",
|
text: "4.2 ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -543,7 +545,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
valueFontSize: 15,
|
valueFontSize: HeadText,
|
||||||
toggleSize: 25,
|
toggleSize: 25,
|
||||||
value: status1,
|
value: status1,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
@ -583,10 +585,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: "Town Hall, Coimbatore",
|
text: "Town Hall, Coimbatore",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -645,20 +647,20 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
text: "Barbeque Nation ",
|
text: "Barbeque Nation ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 18,
|
fontSize: TitleText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: "4.2 ",
|
text: "4.2 ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -679,7 +681,7 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 105,
|
width: 105,
|
||||||
height: 40,
|
height: 40,
|
||||||
valueFontSize: 15,
|
valueFontSize: HeadText,
|
||||||
toggleSize: 25,
|
toggleSize: 25,
|
||||||
value: status2,
|
value: status2,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
@ -719,10 +721,10 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: "Town Hall, Coimbatore",
|
text: "Town Hall, Coimbatore",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -742,8 +744,8 @@ class _businesshomeState extends State<businesshome> {
|
|||||||
),
|
),
|
||||||
BottomNavigationBar(
|
BottomNavigationBar(
|
||||||
iconSize: 20,
|
iconSize: 20,
|
||||||
unselectedFontSize: 12,
|
unselectedFontSize: SubText,
|
||||||
selectedFontSize: 12,
|
selectedFontSize: SubText,
|
||||||
type: BottomNavigationBarType.fixed,
|
type: BottomNavigationBarType.fixed,
|
||||||
items: const <BottomNavigationBarItem>[
|
items: const <BottomNavigationBarItem>[
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
|
@ -4,6 +4,9 @@ import 'package:flutter_switch/flutter_switch.dart';
|
|||||||
import 'package:openclosenew/15_addbusinessdetails.dart';
|
import 'package:openclosenew/15_addbusinessdetails.dart';
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class businessdetailsempty extends StatefulWidget {
|
class businessdetailsempty extends StatefulWidget {
|
||||||
const businessdetailsempty({Key? key}) : super(key: key);
|
const businessdetailsempty({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@ -70,7 +73,7 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 107,
|
width: 107,
|
||||||
height: 50,
|
height: 50,
|
||||||
valueFontSize: 12,
|
valueFontSize: SubText,
|
||||||
toggleSize: 20,
|
toggleSize: 20,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
@ -146,7 +149,7 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
"LOGO",
|
"LOGO",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
letterSpacing: 0.25,
|
letterSpacing: 0.25,
|
||||||
@ -168,10 +171,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
text: "Barbeque Nation ",
|
text: "Barbeque Nation ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -182,10 +185,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: "0.0 ",
|
text: "0.0 ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -245,10 +248,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
text:
|
text:
|
||||||
" +91 98651 76796, +91 76786 85869",
|
" +91 98651 76796, +91 76786 85869",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -274,10 +277,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
text:
|
text:
|
||||||
" 112, Avinashi Road, Peelamedu, Coimbatore...",
|
" 112, Avinashi Road, Peelamedu, Coimbatore...",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -307,10 +310,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'This Business Profile looks incomplete',
|
'This Business Profile looks incomplete',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 13,
|
fontSize: SubText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -360,10 +363,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your food items',
|
'Add your food items',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -398,10 +401,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your shop photos',
|
'Add your shop photos',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -436,10 +439,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your business services',
|
'Add your business services',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -474,10 +477,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your business offers',
|
'Add your business offers',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -512,10 +515,10 @@ class _businessdetailsemptyState extends State<businessdetailsempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your business coupons',
|
'Add your business coupons',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -3,6 +3,8 @@ import 'package:openclosenew/businessdetail.dart';
|
|||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
import '17-BusinessProfileFormSuccess.dart';
|
import '17-BusinessProfileFormSuccess.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class addbusinessdetails extends StatefulWidget {
|
class addbusinessdetails extends StatefulWidget {
|
||||||
const addbusinessdetails({Key? key}) : super(key: key);
|
const addbusinessdetails({Key? key}) : super(key: key);
|
||||||
@ -61,9 +63,9 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
'Add Business Detail',
|
'Add Business Detail',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
fontFamily: Font,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -77,10 +79,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
"Website",
|
"Website",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -99,10 +101,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
"Your working days & hours",
|
"Your working days & hours",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -136,10 +138,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
"From",
|
"From",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -149,10 +151,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
"To",
|
"To",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: "Manrope",
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -187,10 +189,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
_TimeofDay.format(context).toString(),
|
_TimeofDay.format(context).toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -223,10 +225,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
Text(
|
Text(
|
||||||
_TimeofDay1.format(context).toString(),
|
_TimeofDay1.format(context).toString(),
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -257,7 +259,10 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"Cancel",
|
"Cancel",
|
||||||
style: TextStyle(color: Gray),
|
style: TextStyle(
|
||||||
|
color: Gray,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -279,7 +284,11 @@ class _addbusinessdetailsState extends State<addbusinessdetails> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Save',
|
'Save',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
import '19-AddProductFrom.dart';
|
import '19-AddProductFrom.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class profileformsuccess extends StatelessWidget {
|
class profileformsuccess extends StatelessWidget {
|
||||||
const profileformsuccess({Key? key}) : super(key: key);
|
const profileformsuccess({Key? key}) : super(key: key);
|
||||||
@ -25,10 +27,10 @@ class profileformsuccess extends StatelessWidget {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Awesome!',
|
'Awesome!',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 25,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -36,10 +38,10 @@ class profileformsuccess extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
'Your business profile completed successfully!',
|
'Your business profile completed successfully!',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -57,10 +59,10 @@ class profileformsuccess extends StatelessWidget {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Go to Business',
|
'Go to Business',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: White),
|
color: White),
|
||||||
),
|
),
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
|
@ -3,6 +3,9 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:openclosenew/businessdetail.dart';
|
import 'package:openclosenew/businessdetail.dart';
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class addproductfrom extends StatefulWidget {
|
class addproductfrom extends StatefulWidget {
|
||||||
const addproductfrom({Key? key}) : super(key: key);
|
const addproductfrom({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@ -49,9 +52,9 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
Text(
|
Text(
|
||||||
'Add Business Detail',
|
'Add Business Detail',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
fontFamily: 'assets/fonts/Manrope-Medium.ttf',
|
fontFamily: Font,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -65,10 +68,10 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
Text(
|
Text(
|
||||||
'Item Name',
|
'Item Name',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -90,10 +93,10 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
Text(
|
Text(
|
||||||
'Category',
|
'Category',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -138,10 +141,10 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Price',
|
'Price',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -176,10 +179,10 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
child: Text(
|
child: Text(
|
||||||
'Upload photo',
|
'Upload photo',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -203,7 +206,7 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
"Choose You Image",
|
"Choose You Image",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 20,
|
fontSize: 20,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.bold),
|
fontWeight: FontWeight.bold),
|
||||||
),
|
),
|
||||||
@ -220,7 +223,7 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
'Camera',
|
'Camera',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
color: Color(0xFF333333),
|
color: Color(0xFF333333),
|
||||||
@ -238,7 +241,7 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
'Gallery',
|
'Gallery',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontSize: 15,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w300,
|
fontWeight: FontWeight.w300,
|
||||||
color: Color(0xFF333333),
|
color: Color(0xFF333333),
|
||||||
@ -285,7 +288,10 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"Cancel",
|
"Cancel",
|
||||||
style: TextStyle(color: Gray),
|
style: TextStyle(
|
||||||
|
color: Gray,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -307,7 +313,11 @@ class _addproductfromState extends State<addproductfrom> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Save',
|
'Save',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
1
openclosenew/lib/FontFamily.dart
Normal file
1
openclosenew/lib/FontFamily.dart
Normal file
@ -0,0 +1 @@
|
|||||||
|
String Font = 'Manrope';
|
@ -2,6 +2,9 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:openclosenew/businessempty.dart';
|
import 'package:openclosenew/businessempty.dart';
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class businessaddedsuccess extends StatelessWidget {
|
class businessaddedsuccess extends StatelessWidget {
|
||||||
const businessaddedsuccess({Key? key}) : super(key: key);
|
const businessaddedsuccess({Key? key}) : super(key: key);
|
||||||
|
|
||||||
@ -25,7 +28,7 @@ class businessaddedsuccess extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Yay!",
|
"Yay!",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 24,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -35,7 +38,8 @@ class businessaddedsuccess extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Your business added successfully",
|
"Your business added successfully",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontFamily: Font,
|
||||||
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -52,7 +56,11 @@ class businessaddedsuccess extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Let’s Explore',
|
'Let’s Explore',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3,7 +3,9 @@ import 'package:flutter_switch/flutter_switch.dart';
|
|||||||
import 'package:openclosenew/14_businessdetailsempty.dart';
|
import 'package:openclosenew/14_businessdetailsempty.dart';
|
||||||
import 'package:smooth_page_indicator/smooth_page_indicator.dart';
|
import 'package:smooth_page_indicator/smooth_page_indicator.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'colors.dart';
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class businessdetail extends StatefulWidget {
|
class businessdetail extends StatefulWidget {
|
||||||
const businessdetail({Key? key}) : super(key: key);
|
const businessdetail({Key? key}) : super(key: key);
|
||||||
@ -74,7 +76,7 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
FlutterSwitch(
|
FlutterSwitch(
|
||||||
width: 107,
|
width: 107,
|
||||||
height: 50,
|
height: 50,
|
||||||
valueFontSize: 12,
|
valueFontSize: SubText,
|
||||||
toggleSize: 20,
|
toggleSize: 20,
|
||||||
value: status,
|
value: status,
|
||||||
borderRadius: 30.0,
|
borderRadius: 30.0,
|
||||||
@ -148,10 +150,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
text: TextSpan(
|
text: TextSpan(
|
||||||
text: "Barbeque Nation ",
|
text: "Barbeque Nation ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -162,10 +164,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: "4.2 ",
|
text: "4.2 ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -173,7 +175,7 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
child: Icon(
|
child: Icon(
|
||||||
Icons.star,
|
Icons.star,
|
||||||
color: Color(0xFFFFBE3F),
|
color: Color(0xFFFFBE3F),
|
||||||
size: 15,
|
size: HeadText,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -219,10 +221,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
'Veg',
|
'Veg',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 13,
|
fontSize: SubText,
|
||||||
color: Gray),
|
color: Gray),
|
||||||
),
|
),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@ -239,10 +241,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
'Non-Veg',
|
'Non-Veg',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 13,
|
fontSize: SubText,
|
||||||
color: Gray),
|
color: Gray),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
@ -266,10 +268,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
text:
|
text:
|
||||||
" +91 98651 76796, +91 76786 85869",
|
" +91 98651 76796, +91 76786 85869",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -295,10 +297,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
text:
|
text:
|
||||||
" 112, Avinashi Road, Peelamedu, Coimbatore...",
|
" 112, Avinashi Road, Peelamedu, Coimbatore...",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -321,10 +323,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: " www.bbqnation.com",
|
text: " www.bbqnation.com",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -348,10 +350,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
text:
|
text:
|
||||||
" Working Hours: Mon - Fri 9:00am to 9:00pm",
|
" Working Hours: Mon - Fri 9:00am to 9:00pm",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -409,20 +411,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"WELCOME OFFER !",
|
"WELCOME OFFER !",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Get 50% discount on your first order",
|
"Get 50% discount on your first order",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -466,20 +468,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"WELCOME OFFER !",
|
"WELCOME OFFER !",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Get 50% discount on your first order",
|
"Get 50% discount on your first order",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -512,10 +514,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Food Items",
|
"Food Items",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -565,20 +567,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Chicken Briyani",
|
"Chicken Briyani",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 180.00",
|
"₹ 180.00",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -612,20 +614,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Chicken Pepper...",
|
"Chicken Pepper...",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 360.00",
|
"₹ 360.00",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -661,20 +663,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Malai Kofta",
|
"Malai Kofta",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 280.00",
|
"₹ 280.00",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -695,10 +697,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Photos",
|
"Photos",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -796,10 +798,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Services",
|
"Services",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -849,20 +851,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Buffet",
|
"Buffet",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 480.00 - 890.00",
|
"₹ 480.00 - 890.00",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -896,20 +898,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Bar",
|
"Bar",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 200.00 (Starts from)",
|
"₹ 200.00 (Starts from)",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -945,20 +947,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Cafe Club",
|
"Cafe Club",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"₹ 280.00",
|
"₹ 280.00",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 12,
|
fontSize: SubText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -979,10 +981,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Offers",
|
"Offers",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1033,20 +1035,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"WELCOME OFFER !",
|
"WELCOME OFFER !",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Get 50% discount on your first order",
|
"Get 50% discount on your first order",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1084,20 +1086,20 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"WELCOME OFFER !",
|
"WELCOME OFFER !",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
Text(
|
||||||
"Get 50% discount on your first order",
|
"Get 50% discount on your first order",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1119,10 +1121,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Coupons",
|
"Coupons",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1175,10 +1177,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"FEST500",
|
"FEST500",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1195,10 +1197,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Get 50% discount on festival offer",
|
"Get 50% discount on festival offer",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1238,10 +1240,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"FEST500",
|
"FEST500",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w700,
|
fontWeight: FontWeight.w700,
|
||||||
fontSize: 20,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -1258,10 +1260,10 @@ class _businessdetailState extends State<businessdetail> {
|
|||||||
Text(
|
Text(
|
||||||
"Get 50% discount on festival offer",
|
"Get 50% discount on festival offer",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 15,
|
fontSize: HeadText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:dotted_border/dotted_border.dart';
|
import 'package:dotted_border/dotted_border.dart';
|
||||||
import 'package:openclosenew/11_busiesshome.dart';
|
import 'package:openclosenew/11_busiesshome.dart';
|
||||||
|
import 'package:openclosenew/fontsize.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'colors.dart';
|
import 'colors.dart';
|
||||||
|
|
||||||
class businessempty extends StatefulWidget {
|
class businessempty extends StatefulWidget {
|
||||||
@ -13,26 +15,6 @@ class businessempty extends StatefulWidget {
|
|||||||
|
|
||||||
class _businessemptyState extends State<businessempty> {
|
class _businessemptyState extends State<businessempty> {
|
||||||
int _selectedIndex = 0;
|
int _selectedIndex = 0;
|
||||||
static const TextStyle optionStyle = TextStyle(
|
|
||||||
fontFamily: 'Manrope',
|
|
||||||
fontSize: 10,
|
|
||||||
fontWeight: FontWeight.w400,
|
|
||||||
fontStyle: FontStyle.normal,
|
|
||||||
);
|
|
||||||
static const List<Widget> _widgetOptions = <Widget>[
|
|
||||||
Text(
|
|
||||||
'Index 0: Home',
|
|
||||||
style: optionStyle,
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
'Index 1: Business',
|
|
||||||
style: optionStyle,
|
|
||||||
),
|
|
||||||
Text(
|
|
||||||
'Index 2: School',
|
|
||||||
style: optionStyle,
|
|
||||||
),
|
|
||||||
];
|
|
||||||
|
|
||||||
void _onItemTapped(int index) {
|
void _onItemTapped(int index) {
|
||||||
setState(() {
|
setState(() {
|
||||||
@ -70,8 +52,8 @@ class _businessemptyState extends State<businessempty> {
|
|||||||
'Hi, Sudharsan',
|
'Hi, Sudharsan',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
fontSize: 16,
|
fontSize: HeadText,
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
),
|
),
|
||||||
@ -79,10 +61,10 @@ class _businessemptyState extends State<businessempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Mon, 02 May 2022',
|
'Mon, 02 May 2022',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w500,
|
fontWeight: FontWeight.w500,
|
||||||
fontSize: 11,
|
fontSize: SubText,
|
||||||
color: Gray,
|
color: Gray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -132,10 +114,10 @@ class _businessemptyState extends State<businessempty> {
|
|||||||
Text(
|
Text(
|
||||||
'Add your Business',
|
'Add your Business',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontFamily: 'Manrope',
|
fontFamily: Font,
|
||||||
fontStyle: FontStyle.normal,
|
fontStyle: FontStyle.normal,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
fontSize: 14,
|
fontSize: HeadText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
@ -148,8 +130,8 @@ class _businessemptyState extends State<businessempty> {
|
|||||||
Spacer(),
|
Spacer(),
|
||||||
BottomNavigationBar(
|
BottomNavigationBar(
|
||||||
iconSize: 20,
|
iconSize: 20,
|
||||||
unselectedFontSize: 12,
|
unselectedFontSize: SubText,
|
||||||
selectedFontSize: 12,
|
selectedFontSize: SubText,
|
||||||
type: BottomNavigationBarType.fixed,
|
type: BottomNavigationBarType.fixed,
|
||||||
items: const <BottomNavigationBarItem>[
|
items: const <BottomNavigationBarItem>[
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
|
@ -2,7 +2,9 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:openclosenew/07_addbusiness.dart';
|
import 'package:openclosenew/07_addbusiness.dart';
|
||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'businessempty.dart';
|
import 'businessempty.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class business extends StatefulWidget {
|
class business extends StatefulWidget {
|
||||||
const business({Key? key}) : super(key: key);
|
const business({Key? key}) : super(key: key);
|
||||||
@ -24,7 +26,8 @@ class _businessState extends State<business> {
|
|||||||
Text(
|
Text(
|
||||||
'Let’s add your business...',
|
'Let’s add your business...',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontFamily: Font,
|
||||||
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -45,7 +48,11 @@ class _businessState extends State<business> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Skip',
|
'Skip',
|
||||||
style: TextStyle(color: Gray, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: Gray,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -65,7 +72,11 @@ class _businessState extends State<business> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Add Now',
|
'Add Now',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -2,6 +2,9 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
import 'package:openclosenew/verification.dart';
|
import 'package:openclosenew/verification.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class Register extends StatelessWidget {
|
class Register extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@ -24,7 +27,8 @@ class Register extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Welcome!",
|
"Welcome!",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 24,
|
fontFamily: Font,
|
||||||
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -34,7 +38,8 @@ class Register extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Enter your mobile number to verification ",
|
"Enter your mobile number to verification ",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 12,
|
fontFamily: Font,
|
||||||
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -75,7 +80,11 @@ class Register extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Get OTP',
|
'Get OTP',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2,6 +2,8 @@ import 'package:flutter/material.dart';
|
|||||||
import 'package:openclosenew/colors.dart';
|
import 'package:openclosenew/colors.dart';
|
||||||
import 'package:openclosenew/home_screen.dart';
|
import 'package:openclosenew/home_screen.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
|
||||||
class PageViewModel {
|
class PageViewModel {
|
||||||
String title;
|
String title;
|
||||||
String body;
|
String body;
|
||||||
@ -109,12 +111,16 @@ class _IntroScreenState extends State<IntroScreen> {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
"Skip",
|
"Skip",
|
||||||
style: TextStyle(color: Gray),
|
style: TextStyle(
|
||||||
|
color: Gray,
|
||||||
|
fontSize: 18,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:openclosenew/businessstart_page.dart';
|
import 'package:openclosenew/businessstart_page.dart';
|
||||||
|
import 'FontFamily.dart';
|
||||||
import 'colors.dart';
|
import 'colors.dart';
|
||||||
|
import 'fontsize.dart';
|
||||||
|
|
||||||
class thankyou extends StatelessWidget {
|
class thankyou extends StatelessWidget {
|
||||||
const thankyou({Key? key}) : super(key: key);
|
const thankyou({Key? key}) : super(key: key);
|
||||||
@ -25,7 +27,8 @@ class thankyou extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Thank You!",
|
"Thank You!",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 24,
|
fontFamily: Font,
|
||||||
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -35,7 +38,8 @@ class thankyou extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
"Your mobile number verified successfully",
|
"Your mobile number verified successfully",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 15,
|
fontFamily: Font,
|
||||||
|
fontSize: HeadText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -52,7 +56,11 @@ class thankyou extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Let’s Explore',
|
'Let’s Explore',
|
||||||
style: TextStyle(color: White, fontSize: 15),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -4,6 +4,8 @@ import 'package:openclosenew/colors.dart';
|
|||||||
import 'package:openclosenew/fontsize.dart';
|
import 'package:openclosenew/fontsize.dart';
|
||||||
import 'package:openclosenew/thankyou.dart';
|
import 'package:openclosenew/thankyou.dart';
|
||||||
|
|
||||||
|
import 'FontFamily.dart';
|
||||||
|
|
||||||
class verification extends StatelessWidget {
|
class verification extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
@ -30,6 +32,7 @@ class verification extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
'Verification',
|
'Verification',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
fontSize: TitleText,
|
fontSize: TitleText,
|
||||||
color: primaryColor,
|
color: primaryColor,
|
||||||
),
|
),
|
||||||
@ -38,6 +41,7 @@ class verification extends StatelessWidget {
|
|||||||
Text(
|
Text(
|
||||||
'Enter Verification code',
|
'Enter Verification code',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
fontSize: SubText,
|
fontSize: SubText,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@ -61,6 +65,7 @@ class verification extends StatelessWidget {
|
|||||||
TextSpan(
|
TextSpan(
|
||||||
text: 'Didn’t receive code? ',
|
text: 'Didn’t receive code? ',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
fontFamily: Font,
|
||||||
fontSize: SubText,
|
fontSize: SubText,
|
||||||
color: DarkGray,
|
color: DarkGray,
|
||||||
),
|
),
|
||||||
@ -79,7 +84,10 @@ class verification extends StatelessWidget {
|
|||||||
Spacer(),
|
Spacer(),
|
||||||
Text(
|
Text(
|
||||||
'By clicking “Verify” you are accepting our Terms & Conditions',
|
'By clicking “Verify” you are accepting our Terms & Conditions',
|
||||||
style: TextStyle(fontSize: SubText),
|
style: TextStyle(
|
||||||
|
fontSize: SubText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 20),
|
SizedBox(height: 20),
|
||||||
MaterialButton(
|
MaterialButton(
|
||||||
@ -94,7 +102,11 @@ class verification extends StatelessWidget {
|
|||||||
},
|
},
|
||||||
child: Text(
|
child: Text(
|
||||||
'Verify',
|
'Verify',
|
||||||
style: TextStyle(color: White, fontSize: HeadText),
|
style: TextStyle(
|
||||||
|
color: White,
|
||||||
|
fontSize: HeadText,
|
||||||
|
fontFamily: Font,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user