mirror of
https://github.com/SoPat712/RUSwipeShare.git
synced 2025-08-21 19:08:46 -04:00
sell ui changes
This commit is contained in:
@@ -237,27 +237,30 @@ class _SellScreenState extends State<SellScreen> {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
ElevatedButton(
|
),
|
||||||
onPressed: () {
|
Expanded(
|
||||||
List<String> locations = [];
|
child: Center(
|
||||||
User? user = auth.currentUser;
|
child: Container(
|
||||||
values.forEach((key, value) {
|
child: ElevatedButton(
|
||||||
if (value == true) locations.add(key);
|
onPressed: () {
|
||||||
});
|
List<String> locations = [];
|
||||||
if (user != null) {
|
User? user = auth.currentUser;
|
||||||
Seller seller = Seller(
|
values.forEach((key, value) {
|
||||||
user.displayName,
|
if (value == true) locations.add(key);
|
||||||
user.uid,
|
});
|
||||||
locations,
|
if (user != null) {
|
||||||
TimeRange(Timestamp.fromDate(startTimeTime),
|
Seller seller = Seller(
|
||||||
Timestamp.fromDate(endTimeTime)),
|
user.displayName,
|
||||||
double.parse(priceController.text));
|
user.uid,
|
||||||
addSeller(seller);
|
locations,
|
||||||
}
|
TimeRange(Timestamp.fromDate(startTimeTime),
|
||||||
},
|
Timestamp.fromDate(endTimeTime)),
|
||||||
style: ButtonStyle(
|
double.parse(priceController.text));
|
||||||
backgroundColor:
|
addSeller(seller);
|
||||||
MaterialStateColor.resolveWith((states) => Colors.blue),
|
}
|
||||||
|
},
|
||||||
|
child: const Text('Submit Sell Request'),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user