File tree Expand file tree Collapse file tree 8 files changed +2
-12
lines changed Expand file tree Collapse file tree 8 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 1
- ## [ 1.2.0]
1
+ ## [ 1.2.0+1 ]
2
2
3
3
* ** Feat** : [ 42] ( https://github.com/SimformSolutionsPvtLtd/flutter_chatview/issues/42 ) Ability to
4
4
get callback on tap of profile circle avatar.
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import 'package:flutter/material.dart';
26
26
import '../models/models.dart' ;
27
27
28
28
class ChatController {
29
-
30
29
/// Represents initial message list in chat which can be add by user.
31
30
List <Message > initialMessageList;
32
31
ScrollController scrollController;
@@ -43,11 +42,9 @@ class ChatController {
43
42
/// Represents message stream of chat
44
43
StreamController <List <Message >> messageStreamController = StreamController ();
45
44
46
-
47
45
/// Used to dispose stream.
48
46
void dispose () => messageStreamController.close ();
49
47
50
-
51
48
/// Used to add message in message list.
52
49
void addMessage (Message message) {
53
50
initialMessageList.add (message);
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import '../utils/constants.dart';
27
27
import '../utils/emoji_parser.dart' ;
28
28
import '../utils/package_strings.dart' ;
29
29
30
-
31
30
/// Extension for DateTime to get specific formats of dates and time.
32
31
extension TimeDifference on DateTime {
33
32
String get getDay {
@@ -51,7 +50,6 @@ extension TimeDifference on DateTime {
51
50
String get getTimeFromDateTime => DateFormat .Hm ().format (this );
52
51
}
53
52
54
-
55
53
/// Extension on String which implements different types string validations.
56
54
extension ValidateString on String {
57
55
bool get isImageUrl {
Original file line number Diff line number Diff line change 22
22
import '../values/enumaration.dart' ;
23
23
24
24
class ReplyMessage {
25
-
26
25
/// Provides reply message.
27
26
final String message;
28
27
Original file line number Diff line number Diff line change @@ -127,7 +127,6 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
127
127
}
128
128
129
129
void _initializeAnimation () {
130
-
131
130
// When this flag is on at that time only animation controllers will be
132
131
// initialized.
133
132
if (isEnableSwipeToSeeTime) {
@@ -239,7 +238,6 @@ class _ChatGroupedListWidgetState extends State<ChatGroupedListWidget>
239
238
}
240
239
}
241
240
242
-
243
241
/// When user swipe at that time only animation is assigned with value.
244
242
void _onHorizontalDrag (DragUpdateDetails details) {
245
243
_slideAnimation = Tween <Offset >(
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ class ChatViewAppBar extends StatelessWidget {
44
44
this .showLeading = true ,
45
45
}) : super (key: key);
46
46
47
-
48
47
/// Allow user to change colour of appbar.
49
48
final Color ? backGroundColor;
50
49
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ class ImageMessageView extends StatelessWidget {
40
40
this .highlightScale = 1.2 ,
41
41
}) : super (key: key);
42
42
43
-
44
43
/// Provides message instance of chat.
45
44
final Message message;
46
45
Original file line number Diff line number Diff line change 1
1
name : chatview
2
2
description : A Flutter package that allows you to integrate Chat View with highly customization options.
3
- version : 1.2.0
3
+ version : 1.2.0+1
4
4
issue_tracker : https://github.com/SimformSolutionsPvtLtd/flutter_chatview/issues
5
5
repository : https://github.com/SimformSolutionsPvtLtd/flutter_chatview
6
6
You can’t perform that action at this time.
0 commit comments