Advertisement
AnoTest

Flut_Backup_1

Feb 8th, 2021
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 1.33 KB | None | 0 0
  1.  Padding(
  2.           padding: const EdgeInsets.symmetric(
  3.             vertical: 10,
  4.             horizontal: 5,
  5.           ),
  6.           child: Container(
  7.             height: 22.0.h,
  8.             margin: EdgeInsets.all(5),
  9.             decoration: BoxDecoration(
  10.               color: HexColor('#7BABFF'),
  11.               borderRadius: BorderRadius.all(
  12.                 Radius.circular(15),
  13.               ),
  14.             ),
  15.             child: Expanded(
  16.               child: Column(
  17.                 children: [
  18.                   Text(
  19.                     covidDataFranceAll['country'].toString(),
  20.                     style: TextStyle(fontWeight: FontWeight.bold, fontSize: 20),
  21.                   ),
  22.                   SizedBox(
  23.                     height: 1.0.h,
  24.                   ),
  25.                   Image.network(
  26.                     covidDataFranceAll['countryInfo']['flag'],
  27.                     height: 4.0.h,
  28.                   ),
  29.                   SizedBox(
  30.                     height: 2.0.h,
  31.                   ),
  32.                   covidDataFranceAll == null
  33.                       ? CircularProgressIndicator()
  34.                       : FranceData(
  35.                           covidDataFranceAll: covidDataFranceAll,
  36.                         ),
  37.                 ],
  38.               ),
  39.             ), //expanded
  40.           ),
  41.         ),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement