|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
|
|
|
|
|
import '../../../../l10n/extensions/localizations.dart'; |
|
|
|
|
import '../../../../l10n/widgets/localizations.dart'; |
|
|
|
|
import '../../../../models/documents/document.dart'; |
|
|
|
|
import '../../../../models/themes/quill_dialog_theme.dart'; |
|
|
|
|
import '../../../quill/quill_controller.dart'; |
|
|
|
@ -116,7 +117,10 @@ class QuillToolbarSearchDialogState extends State<QuillToolbarSearchDialog> { |
|
|
|
|
backgroundColor: widget.dialogTheme?.dialogBackgroundColor, |
|
|
|
|
alignment: Alignment.bottomCenter, |
|
|
|
|
insetPadding: EdgeInsets.zero, |
|
|
|
|
child: SizedBox( |
|
|
|
|
child: FlutterQuillLocalizationsWidget( |
|
|
|
|
child: Builder( |
|
|
|
|
builder: (context) { |
|
|
|
|
return SizedBox( |
|
|
|
|
height: 45, |
|
|
|
|
child: Row( |
|
|
|
|
children: [ |
|
|
|
@ -179,7 +183,8 @@ class QuillToolbarSearchDialogState extends State<QuillToolbarSearchDialog> { |
|
|
|
|
IconButton( |
|
|
|
|
icon: const Icon(Icons.keyboard_arrow_up), |
|
|
|
|
tooltip: context.loc.moveToPreviousOccurrence, |
|
|
|
|
onPressed: (_offsets!.isNotEmpty) ? _moveToPrevious : null, |
|
|
|
|
onPressed: |
|
|
|
|
(_offsets!.isNotEmpty) ? _moveToPrevious : null, |
|
|
|
|
), |
|
|
|
|
if (_offsets != null) |
|
|
|
|
IconButton( |
|
|
|
@ -189,6 +194,9 @@ class QuillToolbarSearchDialogState extends State<QuillToolbarSearchDialog> { |
|
|
|
|
), |
|
|
|
|
], |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|
), |
|
|
|
|
), |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|