Untitled

mail@pastecode.io avatar
unknown
plain_text
22 days ago
2.5 kB
1
Indexable
Never
     validateShoutC.validateShoutInfo.value!.checkList != null &&
                  validateShoutC.validateShoutInfo.value!.checkList!.isNotEmpty)
                Column(
                  mainAxisAlignment: MainAxisAlignment.start,
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    Column(
                      mainAxisAlignment: MainAxisAlignment.start,
                      crossAxisAlignment: CrossAxisAlignment.start,
                      children: validateShoutC.validateShoutInfo.value!.checkList!
                          .map(
                            (item) => Padding(
                              padding: const EdgeInsets.only(bottom: 5.0),
                              child: Row(
                                children: [
                                  /*Container(
                                    height: 7,
                                    width: 7,
                                    padding: EdgeInsets.zero,
                                    margin: EdgeInsets.all(0),
                                    decoration: BoxDecoration(
                                      color: AppTheme.textColor,
                                      //shape: BoxShape.circle,
                                      shape: BoxShape.rectangle,
                                    ),
                                  ),*/
                                  Container(
                                    height: 20.0,
                                    width: 20.0,
                                    child: Checkbox(
                                      value: true,
                                      onChanged: (v) {},
                                      activeColor: hexToColor('#78909C'),
                                    ),
                                  ),
                                  Gap(10.0),
                                  KText(
                                    text: item.itemName.toString(),
                                    maxLines: 2,
                                    bold: true,
                                  ),
                                ],
                              ),
                            ),
                          )
                          .toList(),
                    ),
                    Divider(color: AppTheme.textColor22),
                  ],
                ),
             
Leave a Comment