66 lines
1.9 KiB
Dart
66 lines
1.9 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:openclosenew/FontFamily.dart';
|
|
import 'package:openclosenew/colors.dart';
|
|
|
|
import 'fontsize.dart';
|
|
|
|
class ProductListing extends StatefulWidget {
|
|
const ProductListing({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
State<ProductListing> createState() => _ProductListingState();
|
|
}
|
|
|
|
class _ProductListingState extends State<ProductListing> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
body: SafeArea(
|
|
child: SingleChildScrollView(
|
|
child: Padding(
|
|
padding: const EdgeInsets.only(left: 20, right: 15, top: 10),
|
|
child: Column(
|
|
children: [
|
|
Row(
|
|
children: [
|
|
InkWell(
|
|
onTap: () {
|
|
Navigator.pop(context);
|
|
},
|
|
child: Icon(
|
|
Icons.arrow_back,
|
|
color: DarkGray,
|
|
size: 24,
|
|
),
|
|
),
|
|
SizedBox(width: 20),
|
|
Text(
|
|
'Food Items',
|
|
style: TextStyle(
|
|
fontFamily: Font,
|
|
fontStyle: FontStyle.normal,
|
|
fontWeight: FontWeight.w500,
|
|
fontSize: HeadText,
|
|
color: DarkGray,
|
|
),
|
|
),
|
|
Spacer(),
|
|
InkWell(
|
|
onTap: () {},
|
|
child: Icon(
|
|
Icons.add,
|
|
color: DarkGray,
|
|
size: 24,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|