update discount

This commit is contained in:
tzw
2021-09-13 11:20:35 +06:30
parent 6155df4d50
commit 062946d2e1
3 changed files with 15 additions and 18 deletions

View File

@@ -85,7 +85,8 @@ class _InvitationCreateState extends State<InvitationCreate> {
),
Container(
decoration: BoxDecoration(
border: Border.all(color: Colors.grey.shade400, width: 1),
border:
Border.all(color: Colors.grey.shade400, width: 1),
borderRadius: BorderRadius.all(Radius.circular(12.0))),
child: CountryCodePicker(
onChanged: _countryChange,
@@ -94,9 +95,7 @@ class _InvitationCreateState extends State<InvitationCreate> {
showCountryOnly: false,
showOnlyCountryWhenClosed: false,
alignLeft: false,
textStyle: TextStyle(
fontSize: 16,
),
textStyle: TextStyle(fontSize: 16, color: Colors.black87),
),
),
SizedBox(
@@ -172,7 +171,7 @@ class _InvitationCreateState extends State<InvitationCreate> {
}
isDataChanged() {
String userName = _nameController.text;
String userName = _nameController.text;
String phoneNumber = _phoneController.text;
return userName != "" || phoneNumber != "";
}