Update flutter_quill_extensions

pull/1508/head
Ellet 1 year ago
parent 83ec05b9e6
commit 829eafa3e4
No known key found for this signature in database
GPG Key ID: C488CC70BBCEF0D1
  1. 3
      flutter_quill_extensions/lib/flutter_quill_extensions.dart
  2. 3
      flutter_quill_extensions/lib/presentation/embeds/toolbar/camera_button/select_camera_action.dart

@ -39,7 +39,10 @@ export 'presentation/embeds/toolbar/utils/image_video_utils.dart';
export 'presentation/embeds/toolbar/video_button/video_button.dart';
export 'presentation/embeds/utils.dart';
export 'presentation/models/config/editor/image.dart';
export 'presentation/models/config/toolbar/buttons/camera.dart';
export 'presentation/models/config/toolbar/buttons/formula.dart';
export 'presentation/models/config/toolbar/buttons/image.dart';
export 'presentation/models/config/toolbar/buttons/media_button.dart';
export 'presentation/models/config/toolbar/buttons/video.dart';
@immutable

@ -10,14 +10,12 @@ class SelectCameraActionDialog extends StatelessWidget {
Widget build(BuildContext context) {
return AlertDialog(
contentPadding: EdgeInsets.zero,
backgroundColor: Colors.transparent,
content: Column(
mainAxisSize: MainAxisSize.min,
children: [
TextButton.icon(
icon: const Icon(
Icons.camera,
color: Colors.orangeAccent,
),
label: Text('Photo'.i18n),
onPressed: () => Navigator.pop(context, CameraAction.image),
@ -25,7 +23,6 @@ class SelectCameraActionDialog extends StatelessWidget {
TextButton.icon(
icon: const Icon(
Icons.video_call,
color: Colors.cyanAccent,
),
label: Text('Video'.i18n),
onPressed: () => Navigator.pop(context, CameraAction.video),

Loading…
Cancel
Save