docs: v5 (#1341)
* feat: version docs and add stream_member_list_controller docs * feat: add member list and grid doc * exported extensions on ui package * feat: add first version of v5 migration guide * docs: grammar fixes and other v5 release details * docs: add additional v5 migration info * update WrapAttachmentWidget doc * add back v4 migration guide * docs(doc): add customize_attachment_picker_modal.mdx guide. (#1343) Signed-off-by: xsahil03x <[email protected]> Signed-off-by: xsahil03x <[email protected]> * update link for attachment picker guide * update share_plus Signed-off-by: xsahil03x <[email protected]> Co-authored-by: Gordon Hayes <[email protected]> Co-authored-by: Sahil Kumar <[email protected]>
This commit is contained in:
co-authored by
Gordon Hayes
Sahil Kumar
parent
4f2542291c
commit
08295e5290
@@ -77,7 +77,7 @@ extension StringExtension on String {
|
||||
}
|
||||
|
||||
/// List extension
|
||||
extension IterableX<T> on Iterable<T> {
|
||||
extension IterableExtension<T> on Iterable<T> {
|
||||
/// Insert any item<T> inBetween the list items
|
||||
List<T> insertBetween(T item) => expand((e) sync* {
|
||||
yield item;
|
||||
|
||||
@@ -3,7 +3,6 @@ import 'dart:math' as math;
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_portal/flutter_portal.dart';
|
||||
import 'package:stream_chat_flutter/src/utils/extensions.dart';
|
||||
import 'package:stream_chat_flutter/stream_chat_flutter.dart';
|
||||
import 'package:synchronized/synchronized.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
@@ -436,7 +435,6 @@ Widget wrapAttachmentWidget(
|
||||
WrapAttachmentWidget(
|
||||
attachmentWidget: attachmentWidget,
|
||||
attachmentShape: attachmentShape,
|
||||
reverse: reverse,
|
||||
);
|
||||
|
||||
/// Wraps attachment widget with custom shape
|
||||
@@ -446,7 +444,6 @@ class WrapAttachmentWidget extends StatelessWidget {
|
||||
super.key,
|
||||
required this.attachmentWidget,
|
||||
required this.attachmentShape,
|
||||
required this.reverse,
|
||||
});
|
||||
|
||||
/// The widget to wrap
|
||||
@@ -455,9 +452,6 @@ class WrapAttachmentWidget extends StatelessWidget {
|
||||
/// The shape of the wrapper
|
||||
final ShapeBorder attachmentShape;
|
||||
|
||||
/// Whether to reverse the wrapper shape
|
||||
final bool reverse;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Material(
|
||||
|
||||
Reference in New Issue
Block a user