chore(ui): fix analysis issues
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -100,7 +100,8 @@ class StreamFileAttachment extends StreamAttachmentWidget {
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
);
|
||||
|
||||
// TODO: Improve image memory. This is using the full image instead of a smaller version (thumbnail)
|
||||
// TODO: Improve image memory. This is using the full image instead of a
|
||||
// smaller version (thumbnail)
|
||||
Widget _getFileTypeImage(BuildContext context) {
|
||||
if (isImageAttachment) {
|
||||
return Material(
|
||||
|
||||
@@ -434,7 +434,8 @@ class StreamMessageWidget extends StatefulWidget {
|
||||
/// Crop type of the image attachment thumbnail.
|
||||
///
|
||||
/// Defaults to [center]
|
||||
final String /*center|top|bottom|left|right*/ imageAttachmentThumbnailCropType;
|
||||
final String /*center|top|bottom|left|right*/
|
||||
imageAttachmentThumbnailCropType;
|
||||
|
||||
/// Creates a copy of [StreamMessageWidget] with
|
||||
/// specified attributes overridden.
|
||||
|
||||
@@ -10,7 +10,6 @@ import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:image_picker/image_picker.dart';
|
||||
import 'package:photo_manager/photo_manager.dart';
|
||||
import 'package:shimmer/shimmer.dart';
|
||||
import 'package:stream_chat_flutter/src/commands_overlay.dart';
|
||||
import 'package:stream_chat_flutter/src/emoji/emoji.dart';
|
||||
|
||||
Reference in New Issue
Block a user