mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-15 17:47:53 +00:00
separated header
This commit is contained in:
@ -24,7 +24,7 @@ void showDeleteConfirmationDialog(BuildContext context, VoidCallback onConfirm,
|
||||
children: [
|
||||
_buildWarningIcon(),
|
||||
const SizedBox(height: 20),
|
||||
_buildDialogTitle(context,title),
|
||||
_buildDialogTitle(context, title),
|
||||
const SizedBox(height: 10),
|
||||
_buildDialogSubtitle(context, subtitle),
|
||||
const SizedBox(height: 20),
|
||||
@ -73,7 +73,7 @@ void showProcessingPopup(BuildContext context, bool isSpace, VoidCallback onDele
|
||||
children: [
|
||||
_buildWarningIcon(),
|
||||
const SizedBox(height: 20),
|
||||
_buildDialogTitle(context,title),
|
||||
_buildDialogTitle(context, title),
|
||||
const SizedBox(height: 10),
|
||||
_buildDialogSubtitle(context, 'Are you sure you want to delete?'),
|
||||
const SizedBox(height: 20),
|
||||
@ -123,9 +123,7 @@ Widget _buildDialogSubtitle(BuildContext context, String subtitle) {
|
||||
return Text(
|
||||
subtitle,
|
||||
textAlign: TextAlign.center,
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
color: ColorsManager.grayColor
|
||||
),
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(color: ColorsManager.grayColor),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user