Committed by
GitHub
Merge pull request #2094 from jiurchuk/master
Personalizable Border Radius in Default Dialog
Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -192,7 +192,7 @@ extension ExtensionDialog on GetInterface { | @@ -192,7 +192,7 @@ extension ExtensionDialog on GetInterface { | ||
| 192 | color: buttonColor ?? theme.colorScheme.secondary, | 192 | color: buttonColor ?? theme.colorScheme.secondary, | 
| 193 | width: 2, | 193 | width: 2, | 
| 194 | style: BorderStyle.solid), | 194 | style: BorderStyle.solid), | 
| 195 | - borderRadius: BorderRadius.circular(100)), | 195 | + borderRadius: BorderRadius.circular(radius)), | 
| 196 | ), | 196 | ), | 
| 197 | onPressed: () { | 197 | onPressed: () { | 
| 198 | onCancel?.call(); | 198 | onCancel?.call(); | 
| @@ -215,7 +215,7 @@ extension ExtensionDialog on GetInterface { | @@ -215,7 +215,7 @@ extension ExtensionDialog on GetInterface { | ||
| 215 | tapTargetSize: MaterialTapTargetSize.shrinkWrap, | 215 | tapTargetSize: MaterialTapTargetSize.shrinkWrap, | 
| 216 | backgroundColor: buttonColor ?? theme.colorScheme.secondary, | 216 | backgroundColor: buttonColor ?? theme.colorScheme.secondary, | 
| 217 | shape: RoundedRectangleBorder( | 217 | shape: RoundedRectangleBorder( | 
| 218 | - borderRadius: BorderRadius.circular(100)), | 218 | + borderRadius: BorderRadius.circular(radius)), | 
| 219 | ), | 219 | ), | 
| 220 | child: Text( | 220 | child: Text( | 
| 221 | textConfirm ?? "Ok", | 221 | textConfirm ?? "Ok", | 
- 
Please register or login to post a comment