Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
749 B
7
Indexable
Card(
                      color: Colors.orange,
                      child: Theme(
                        data: ThemeData(unselectedWidgetColor: Colors.orange),
                        child: RadioListTile(
                          value: index,
                          groupValue: controller.selectedValue,
                          activeColor: Colors.white,
                          title: Text(contact.cardNumber!
                              .replaceAll(RegExp(r'[^\s](?=.{4})'), '*')),
                          onChanged: (value) {
                            controller.selectTR(value);
                            print(value);
                          },
                        ),
                      ),
                    );