@@ -3539,13 +3539,12 @@ steps:
35393539 SizedBox(
35403540 width: 150.0,
35413541 child: DropdownButton<Product>(
3542- items:
3543- listProduct.map((value) {
3544- return DropdownMenuItem<Product>(
3545- value: value,
3546- child: Text(value.productName),
3547- );
3548- }).toList(),
3542+ items: listProduct.map((value) {
3543+ return DropdownMenuItem<Product>(
3544+ value: value,
3545+ child: Text(value.productName),
3546+ );
3547+ }).toList(),
35493548 hint: Text(
35503549 productName.toString(),
35513550 style: const TextStyle(color: Colors.deepPurpleAccent),
@@ -3583,39 +3582,38 @@ steps:
35833582
35843583 Expanded buildBottomView() {
35853584 return Expanded(
3586- child:
3587- haikuText.isNotEmpty
3588- ? Container(
3589- decoration: BoxDecoration(
3590- color: Colors.amberAccent.shade100,
3591- borderRadius: BorderRadius.circular(8),
3592- ),
3593- child: Padding(
3594- padding: const EdgeInsets.all(8.0),
3595- child: SizedBox(
3596- width: double.maxFinite,
3597- child: Text(
3598- haikuText,
3599- style: const TextStyle(
3600- color: Colors.black,
3601- fontSize: 18,
3602- fontWeight: FontWeight.w300,
3603- ),
3585+ child: haikuText.isNotEmpty
3586+ ? Container(
3587+ decoration: BoxDecoration(
3588+ color: Colors.amberAccent.shade100,
3589+ borderRadius: BorderRadius.circular(8),
3590+ ),
3591+ child: Padding(
3592+ padding: const EdgeInsets.all(8.0),
3593+ child: SizedBox(
3594+ width: double.maxFinite,
3595+ child: Text(
3596+ haikuText,
3597+ style: const TextStyle(
3598+ color: Colors.black,
3599+ fontSize: 18,
3600+ fontWeight: FontWeight.w300,
36043601 ),
36053602 ),
36063603 ),
3607- )
3608- : ShimmerLoadingAnim(
3609- isLoading: true,
3610- child: Container(
3611- height: double.maxFinite,
3612- width : double.maxFinite,
3613- decoration: BoxDecoration(
3614- color: const Color(0xFFE5E5E5),
3615- borderRadius: BorderRadius.circular(8 ),
3616- ),
3604+ ),
3605+ )
3606+ : ShimmerLoadingAnim(
3607+ isLoading: true,
3608+ child: Container(
3609+ height : double.maxFinite,
3610+ width: double.maxFinite,
3611+ decoration: BoxDecoration(
3612+ color: const Color(0xFFE5E5E5 ),
3613+ borderRadius: BorderRadius.circular(8 ),
36173614 ),
36183615 ),
3616+ ),
36193617 );
36203618 }
36213619 }
0 commit comments