Compare commits

...

1 Commits

Author SHA1 Message Date
Elham Rababah dc07ce8fe4 fix issue 5 years ago

@ -12,32 +12,35 @@ class DistanceInKilometers extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return CircleContainer( return CircleContainer(
child: Column( child: Padding(
crossAxisAlignment: CrossAxisAlignment.center, padding: const EdgeInsets.all(8.0),
mainAxisAlignment: MainAxisAlignment.center, child: Column(
children: <Widget>[ crossAxisAlignment: CrossAxisAlignment.center,
Text( mainAxisAlignment: MainAxisAlignment.center,
distanceInKilometers.toString(), children: <Widget>[
style: TextStyle( Text(
color: Color(0xff42B6AD), distanceInKilometers.toString(),
fontWeight: FontWeight.w800, style: TextStyle(
fontStyle: FontStyle.normal), color: Color(0xff42B6AD),
), fontWeight: FontWeight.w800,
Text( fontStyle: FontStyle.normal),
'K.m', ),
style: TextStyle( Text(
color: Color(0xff42B6AD), 'K.m',
fontWeight: FontWeight.w800, style: TextStyle(
fontStyle: FontStyle.normal), color: Color(0xff42B6AD),
), fontWeight: FontWeight.w800,
Text( fontStyle: FontStyle.normal),
'away', ),
style: TextStyle( Text(
color: Color(0xff42B6AD), 'away',
fontWeight: FontWeight.w800, style: TextStyle(
fontStyle: FontStyle.normal), color: Color(0xff42B6AD),
), fontWeight: FontWeight.w800,
], fontStyle: FontStyle.normal),
),
],
),
), ),
); );
} }

Loading…
Cancel
Save