refactor!: rename ChannelImage -> ChannelAvatar, GroupImage -> GroupAvatar
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -98,7 +98,7 @@ class ChannelHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||
final Widget? leading;
|
||||
|
||||
/// AppBar actions
|
||||
/// By default it shows the [ChannelImage]
|
||||
/// By default it shows the [ChannelAvatar]
|
||||
final List<Widget>? actions;
|
||||
|
||||
@override
|
||||
@@ -147,7 +147,7 @@ class ChannelHeader extends StatelessWidget implements PreferredSizeWidget {
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(right: 10),
|
||||
child: Center(
|
||||
child: ChannelImage(
|
||||
child: ChannelAvatar(
|
||||
borderRadius: chatThemeData.channelTheme
|
||||
.channelHeaderTheme.avatarTheme?.borderRadius,
|
||||
constraints: chatThemeData.channelTheme
|
||||
|
||||
Reference in New Issue
Block a user