Refactor dialog background color and button styles in document viewer and home page
This commit is contained in:
@@ -144,7 +144,10 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
children: [
|
||||
ModernGlassButton(
|
||||
onPressed: () => Navigator.of(dialogContext).pop(),
|
||||
child: const Text('Cancel'),
|
||||
child: Text(
|
||||
'Cancel',
|
||||
style: TextStyle(color: Colors.red[400]),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 16),
|
||||
ModernGlassButton(
|
||||
@@ -158,10 +161,7 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
|
||||
Navigator.of(dialogContext).pop();
|
||||
}
|
||||
},
|
||||
child: Text(
|
||||
'Create',
|
||||
style: TextStyle(color: Colors.red[400]),
|
||||
),
|
||||
child: const Text('Create'),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user