|
|
|
|
@ -210,71 +210,77 @@ class _SelectTransportationMethodState
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 5,
|
|
|
|
|
),
|
|
|
|
|
Row(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = Way.OneWay;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
border:
|
|
|
|
|
Border.all(color: Colors.grey, width: 0.5),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title:
|
|
|
|
|
Texts(TranslationBase.of(context).oneDirec),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: Way.OneWay,
|
|
|
|
|
groupValue: _way,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = value;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
Container(
|
|
|
|
|
margin: EdgeInsets.only(bottom:65 ),
|
|
|
|
|
child: Row(
|
|
|
|
|
children: [
|
|
|
|
|
Expanded(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = Way.OneWay;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
border:
|
|
|
|
|
Border.all(color: Colors.grey, width: 0.5),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title:
|
|
|
|
|
Texts(TranslationBase.of(context).oneDirec),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: Way.OneWay,
|
|
|
|
|
groupValue: _way,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = value;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = Way.TwoWays;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
border:
|
|
|
|
|
Border.all(color: Colors.grey, width: 0.5),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title:
|
|
|
|
|
Texts(TranslationBase.of(context).twoDirec),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: Way.TwoWays,
|
|
|
|
|
groupValue: _way,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = value;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
Expanded(
|
|
|
|
|
child: InkWell(
|
|
|
|
|
onTap: () {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = Way.TwoWays;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
child: Container(
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
shape: BoxShape.rectangle,
|
|
|
|
|
borderRadius: BorderRadius.circular(8),
|
|
|
|
|
border:
|
|
|
|
|
Border.all(color: Colors.grey, width: 0.5),
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
),
|
|
|
|
|
child: ListTile(
|
|
|
|
|
title:
|
|
|
|
|
Texts(TranslationBase.of(context).twoDirec),
|
|
|
|
|
leading: Radio(
|
|
|
|
|
value: Way.TwoWays,
|
|
|
|
|
groupValue: _way,
|
|
|
|
|
onChanged: (value) {
|
|
|
|
|
setState(() {
|
|
|
|
|
_way = value;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
SizedBox(
|
|
|
|
|
height: 30,
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|