lint
This commit is contained in:
@@ -4,7 +4,6 @@ import 'package:stream_chat_flutter_core/stream_chat_flutter_core.dart';
|
||||
|
||||
/// Displays a list of users who reacted
|
||||
class UserReactionDisplay extends StatelessWidget {
|
||||
|
||||
/// Constructor for creating a [UserReactionDisplay]
|
||||
const UserReactionDisplay({
|
||||
Key? key,
|
||||
|
||||
@@ -27,7 +27,8 @@ Future<bool?> showConfirmationDialog(
|
||||
Widget? icon,
|
||||
String? question,
|
||||
String? cancelText,
|
||||
}) => showModalBottomSheet(
|
||||
}) =>
|
||||
showModalBottomSheet(
|
||||
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
|
||||
context: context,
|
||||
shape: const RoundedRectangleBorder(
|
||||
@@ -118,9 +119,10 @@ Future<bool?> showInfoDialog(
|
||||
Widget? icon,
|
||||
String? details,
|
||||
StreamChatThemeData? theme,
|
||||
}) => showModalBottomSheet(
|
||||
backgroundColor:
|
||||
theme?.colorTheme.white ?? StreamChatTheme.of(context).colorTheme.white,
|
||||
}) =>
|
||||
showModalBottomSheet(
|
||||
backgroundColor: theme?.colorTheme.white ??
|
||||
StreamChatTheme.of(context).colorTheme.white,
|
||||
context: context,
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.only(
|
||||
@@ -338,7 +340,8 @@ Widget wrapAttachmentWidget(
|
||||
// ignore: avoid_positional_boolean_parameters
|
||||
bool reverse,
|
||||
BorderRadius borderRadius,
|
||||
) => ClipRRect(
|
||||
) =>
|
||||
ClipRRect(
|
||||
borderRadius: borderRadius,
|
||||
child: Material(
|
||||
clipBehavior: Clip.antiAlias,
|
||||
|
||||
@@ -4,10 +4,9 @@ import 'package:flutter/material.dart';
|
||||
import 'package:shimmer/shimmer.dart';
|
||||
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
|
||||
import 'package:video_thumbnail/video_thumbnail.dart';
|
||||
import 'package:stream_chat_flutter/src/video_service.dart';
|
||||
|
||||
import 'stream_svg_icon.dart';
|
||||
import 'video_service.dart';
|
||||
|
||||
/// Widget for creating video thumbnail image
|
||||
class VideoThumbnailImage extends StatefulWidget {
|
||||
/// Constructor for creating [VideoThumbnailImage]
|
||||
const VideoThumbnailImage({
|
||||
@@ -38,6 +37,8 @@ class VideoThumbnailImage extends StatefulWidget {
|
||||
|
||||
/// Builds widget on error
|
||||
final Widget Function(BuildContext, Object?)? errorBuilder;
|
||||
|
||||
/// Builds placeholder
|
||||
final WidgetBuilder? placeholderBuilder;
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user