add home screen and shipping addresses
This commit is contained in:
@@ -20,6 +20,10 @@ class BuyingOnlinePage extends StatefulWidget {
|
||||
|
||||
class _BuyingOnlinePagetate extends State<BuyingOnlinePage> {
|
||||
bool _isLoading = false;
|
||||
List<String> images = [
|
||||
'assets/Fullname.jpeg',
|
||||
'assets/FirstName&LastName.jpeg'
|
||||
];
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -86,64 +90,6 @@ class _BuyingOnlinePagetate extends State<BuyingOnlinePage> {
|
||||
),
|
||||
);
|
||||
|
||||
final neweggbutton = Container(
|
||||
padding: EdgeInsets.only(left: 10, right: 10, top: 10),
|
||||
child: Container(
|
||||
height: 45.0,
|
||||
decoration: BoxDecoration(
|
||||
color: primaryColor,
|
||||
shape: BoxShape.rectangle,
|
||||
// borderRadius: BorderRadius.all(Radius.circular(10.0))
|
||||
),
|
||||
child: ButtonTheme(
|
||||
minWidth: 900.0,
|
||||
height: 100.0,
|
||||
child: FlatButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context)
|
||||
.push(BottomUpPageRoute(ManualPage(marketplace: 'Newegg')));
|
||||
},
|
||||
child: LocalText(
|
||||
context,
|
||||
'buy.newegg',
|
||||
color: Colors.white,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
final macybutton = Container(
|
||||
padding: EdgeInsets.only(left: 10, right: 10, top: 10),
|
||||
child: Container(
|
||||
height: 45.0,
|
||||
decoration: BoxDecoration(
|
||||
color: primaryColor,
|
||||
shape: BoxShape.rectangle,
|
||||
// borderRadius: BorderRadius.all(Radius.circular(10.0))
|
||||
),
|
||||
child: ButtonTheme(
|
||||
minWidth: 900.0,
|
||||
height: 100.0,
|
||||
child: FlatButton(
|
||||
onPressed: () {
|
||||
Navigator.of(context)
|
||||
.push(BottomUpPageRoute(ManualPage(marketplace: 'Macy')));
|
||||
},
|
||||
child: LocalText(
|
||||
context,
|
||||
'buy.macy',
|
||||
color: Colors.white,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.bold,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
return LocalProgress(
|
||||
inAsyncCall: _isLoading,
|
||||
child: Scaffold(
|
||||
@@ -202,9 +148,20 @@ class _BuyingOnlinePagetate extends State<BuyingOnlinePage> {
|
||||
),
|
||||
// deliveryAddressBox,
|
||||
instructionBox,
|
||||
amazonbutton,
|
||||
neweggbutton,
|
||||
macybutton,
|
||||
Container(
|
||||
height: 500,
|
||||
width: 500,
|
||||
child: ListView.builder(
|
||||
itemCount: images.length,
|
||||
scrollDirection: Axis.horizontal,
|
||||
itemBuilder: (context, index) {
|
||||
return Container(
|
||||
padding: EdgeInsets.only(left: 0, right: 5, top: 5),
|
||||
child: Image.asset(images[index], fit: BoxFit.contain),
|
||||
);
|
||||
}),
|
||||
),
|
||||
|
||||
SizedBox(height: 10)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user