This commit is contained in:
NATHANIEL ENDICK
2023-02-26 13:57:43 -05:00
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ class PriceRange {
}
class Seller implements Comparable<Seller> {
String name = "";
String? name = "Unknown Seller";
String uid = "";
List<dynamic> location;
TimeRange availableTime;

View File

@@ -46,6 +46,8 @@ class _SellScreenState extends State<SellScreen> {
resizeToAvoidBottomInset: true,
body: Padding(
padding: const EdgeInsets.fromLTRB(0, 8, 0, 0),
child:
Column(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [
child:
Column(mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [
Row(
@@ -199,14 +201,12 @@ class _SellScreenState extends State<SellScreen> {
});
if (user != null) {
Seller seller = Seller(
"",
user.displayName,
user.uid,
locations,
TimeRange(Timestamp.fromDate(startTimeTime),
Timestamp.fromDate(endTimeTime)),
double.parse(priceController.text));
print("SIFSIFISFHJIS");
print(seller);
addSeller(seller);
}
},