|
@@ -65,7 +65,8 @@ class SearchPage extends StatelessWidget {
|
|
),
|
|
),
|
|
),
|
|
),
|
|
Container(
|
|
Container(
|
|
- margin: EdgeInsets.all(10),
|
|
|
|
|
|
+ width: 396,
|
|
|
|
+ margin: EdgeInsets.all(5),
|
|
decoration: BoxDecoration(
|
|
decoration: BoxDecoration(
|
|
border: Border.all(color: Colors.black.withOpacity(0.1)),
|
|
border: Border.all(color: Colors.black.withOpacity(0.1)),
|
|
shape: BoxShape.rectangle,
|
|
shape: BoxShape.rectangle,
|
|
@@ -86,13 +87,10 @@ class SearchPage extends StatelessWidget {
|
|
),
|
|
),
|
|
Padding(
|
|
Padding(
|
|
padding: const EdgeInsets.symmetric(horizontal: 5),
|
|
padding: const EdgeInsets.symmetric(horizontal: 5),
|
|
- child: DottedLine(
|
|
|
|
- lineLength: 396,
|
|
|
|
- ),
|
|
|
|
|
|
+ child: DottedLine(),
|
|
),
|
|
),
|
|
Container(
|
|
Container(
|
|
margin: EdgeInsets.all(5),
|
|
margin: EdgeInsets.all(5),
|
|
- width: 396,
|
|
|
|
child: Text(
|
|
child: Text(
|
|
items['longText'],
|
|
items['longText'],
|
|
overflow: TextOverflow.clip,
|
|
overflow: TextOverflow.clip,
|
|
@@ -106,51 +104,169 @@ class SearchPage extends StatelessWidget {
|
|
),
|
|
),
|
|
),
|
|
),
|
|
Container(
|
|
Container(
|
|
- margin: EdgeInsets.symmetric(horizontal: 10),
|
|
|
|
|
|
+ margin: EdgeInsets.all(10),
|
|
child: Text(
|
|
child: Text(
|
|
'Your Location',
|
|
'Your Location',
|
|
style: TextStyle(fontWeight: FontWeight.w500, fontSize: 14),
|
|
style: TextStyle(fontWeight: FontWeight.w500, fontSize: 14),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
+ Container(
|
|
|
|
+ width: 396,
|
|
|
|
+ margin: EdgeInsets.symmetric(horizontal: 10),
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
+ color: Color(0xff078C84).withOpacity(0.85),
|
|
|
|
+ border: Border.all(color: Color(0xff078C84)),
|
|
|
|
+ shape: BoxShape.rectangle,
|
|
|
|
+ borderRadius: BorderRadius.only(
|
|
|
|
+ topLeft: Radius.circular(12),
|
|
|
|
+ topRight: Radius.circular(12))),
|
|
|
|
+ child: Padding(
|
|
|
|
+ padding: const EdgeInsets.all(5),
|
|
|
|
+ child: Column(
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
+ children: [
|
|
|
|
+ Row(
|
|
|
|
+ children: [
|
|
|
|
+ Icon(Icons.remove),
|
|
|
|
+ Column(
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
+ children: [
|
|
|
|
+ Text('Default Location'),
|
|
|
|
+ Container(
|
|
|
|
+ height: 5,
|
|
|
|
+ ),
|
|
|
|
+ Text('Room 331')
|
|
|
|
+ ],
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
|
|
+ ]))),
|
|
|
|
+ Container(
|
|
|
|
+ width: 396,
|
|
|
|
+ margin: EdgeInsets.symmetric(
|
|
|
|
+ horizontal: 10,
|
|
|
|
+ ),
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
+ border: Border.all(color: Colors.black.withOpacity(0.1)),
|
|
|
|
+ shape: BoxShape.rectangle,
|
|
|
|
+ borderRadius: BorderRadius.only(
|
|
|
|
+ bottomLeft: Radius.circular(12),
|
|
|
|
+ bottomRight: Radius.circular(12))),
|
|
|
|
+ child: Padding(
|
|
|
|
+ padding: const EdgeInsets.all(5),
|
|
|
|
+ child: Column(
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
+ children: [
|
|
|
|
+ Row(
|
|
|
|
+ children: [
|
|
|
|
+ Icon(Icons.add),
|
|
|
|
+ Column(
|
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
+ children: [
|
|
|
|
+ Text('I moved to other location'),
|
|
|
|
+ Container(
|
|
|
|
+ width: 350,
|
|
|
|
+ margin: EdgeInsets.symmetric(vertical: 5),
|
|
|
|
+ decoration: BoxDecoration(
|
|
|
|
+ border: Border.all(
|
|
|
|
+ color: Colors.black.withOpacity(0.1)),
|
|
|
|
+ shape: BoxShape.rectangle,
|
|
|
|
+ borderRadius: BorderRadius.circular(12)),
|
|
|
|
+ child: Row(
|
|
|
|
+ children: [
|
|
|
|
+ Padding(
|
|
|
|
+ padding: const EdgeInsets.symmetric(
|
|
|
|
+ horizontal: 5),
|
|
|
|
+ child: Icon(
|
|
|
|
+ Icons.location_on_outlined,
|
|
|
|
+ color: Color(0xffD91B1B),
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ Text(
|
|
|
|
+ 'Where are you?',
|
|
|
|
+ style: TextStyle(
|
|
|
|
+ fontWeight: FontWeight.w300,
|
|
|
|
+ fontSize: 13,
|
|
|
|
+ color: Color(0xff292D32)
|
|
|
|
+ .withOpacity(0.5)),
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
|
|
+ ],
|
|
|
|
+ ))),
|
|
Container(
|
|
Container(
|
|
margin: EdgeInsets.all(10),
|
|
margin: EdgeInsets.all(10),
|
|
|
|
+ child: Text(
|
|
|
|
+ 'Add Image',
|
|
|
|
+ style: TextStyle(fontWeight: FontWeight.w500, fontSize: 14),
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ Container(
|
|
|
|
+ margin: EdgeInsets.symmetric(horizontal: 10),
|
|
|
|
+ child: Row(
|
|
|
|
+ children: [
|
|
|
|
+ Text(
|
|
|
|
+ 'You can send us a picture as a clue or something..',
|
|
|
|
+ style: TextStyle(
|
|
|
|
+ fontWeight: FontWeight.w300,
|
|
|
|
+ fontSize: 12,
|
|
|
|
+ color: Color(0xff292D32).withOpacity(0.85)),
|
|
|
|
+ ),
|
|
|
|
+ Spacer(),
|
|
|
|
+ Icon(
|
|
|
|
+ Icons.photo_camera,
|
|
|
|
+ color: Color(0xff078C84),
|
|
|
|
+ )
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
|
|
+ ),
|
|
|
|
+ Divider(),
|
|
|
|
+ Container(
|
|
|
|
+ width: 394,
|
|
|
|
+ margin: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
|
|
decoration: BoxDecoration(
|
|
decoration: BoxDecoration(
|
|
border: Border.all(color: Colors.black.withOpacity(0.1)),
|
|
border: Border.all(color: Colors.black.withOpacity(0.1)),
|
|
shape: BoxShape.rectangle,
|
|
shape: BoxShape.rectangle,
|
|
borderRadius: BorderRadius.circular(12)),
|
|
borderRadius: BorderRadius.circular(12)),
|
|
- child: Column(
|
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
- children: [
|
|
|
|
- Row(
|
|
|
|
- children: [
|
|
|
|
- Icon(Icons.remove),
|
|
|
|
- Column(
|
|
|
|
- crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
- children: [Text('Default Location'), Text('Room 331')],
|
|
|
|
- )
|
|
|
|
- ],
|
|
|
|
- ),
|
|
|
|
- Divider(),
|
|
|
|
- Row(
|
|
|
|
- children: [
|
|
|
|
- Icon(Icons.add),
|
|
|
|
- Column(
|
|
|
|
- children: [
|
|
|
|
- Text('I moved to other location'),
|
|
|
|
- Container(
|
|
|
|
- decoration: BoxDecoration(
|
|
|
|
- border: Border.all(
|
|
|
|
- color: Colors.black.withOpacity(0.1)),
|
|
|
|
- shape: BoxShape.rectangle,
|
|
|
|
- borderRadius: BorderRadius.circular(12)),
|
|
|
|
- )
|
|
|
|
- ],
|
|
|
|
- )
|
|
|
|
- ],
|
|
|
|
- ),
|
|
|
|
- ],
|
|
|
|
|
|
+ child: Padding(
|
|
|
|
+ padding: const EdgeInsets.all(5),
|
|
|
|
+ child: Row(
|
|
|
|
+ children: [
|
|
|
|
+ Icon(Icons.edit),
|
|
|
|
+ Container(
|
|
|
|
+ width: 5,
|
|
|
|
+ ),
|
|
|
|
+ Text('Add note..',
|
|
|
|
+ style: TextStyle(
|
|
|
|
+ fontWeight: FontWeight.w300,
|
|
|
|
+ fontSize: 13,
|
|
|
|
+ color: Color(0xff292D32).withOpacity(0.5))),
|
|
|
|
+ ],
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
+ Container(
|
|
|
|
+ margin: EdgeInsets.symmetric(horizontal: 10, vertical: 5),
|
|
|
|
+ width: 396,
|
|
|
|
+ height: 51,
|
|
|
|
+ child: ElevatedButton(
|
|
|
|
+ style: ElevatedButton.styleFrom(
|
|
|
|
+ backgroundColor: Color(0xff078C84),
|
|
|
|
+ ),
|
|
|
|
+ onPressed: () {},
|
|
|
|
+ child: Text(
|
|
|
|
+ 'Send Request',
|
|
|
|
+ style: TextStyle(
|
|
|
|
+ fontWeight: FontWeight.w600,
|
|
|
|
+ fontSize: 16,
|
|
|
|
+ color: Colors.white),
|
|
|
|
+ )),
|
|
|
|
+ )
|
|
],
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|