null safety

This commit is contained in:
phyothandar
2021-09-10 12:00:08 +06:30
parent a144c945b6
commit 5e672937b5
67 changed files with 901 additions and 896 deletions

View File

@@ -76,9 +76,9 @@ class _ProfileCurrencyEditState extends State<ProfileCurrencyEdit> {
activeColor: primaryColor,
value: Currency.USD,
groupValue: _currency,
onChanged: (Currency value) {
onChanged: (Currency? value) {
setState(() {
_currency = value;
_currency = value!;
});
},
),
@@ -94,9 +94,9 @@ class _ProfileCurrencyEditState extends State<ProfileCurrencyEdit> {
activeColor: primaryColor,
value: Currency.MMK,
groupValue: _currency,
onChanged: (Currency value) {
onChanged: (Currency? value) {
setState(() {
_currency = value;
_currency = value!;
});
},
),