feat: Added pin message functionality

This commit is contained in:
Deven Joshi
2021-05-26 16:39:48 +05:30
parent b954cc2872
commit 0e1e9a12f9
6 changed files with 118 additions and 3 deletions
@@ -889,6 +889,18 @@ class StreamSvgIcon extends StatelessWidget {
height: size,
);
/// [StreamSvgIcon] type
factory StreamSvgIcon.pin({
double? size,
Color? color,
}) =>
StreamSvgIcon(
assetName: 'icon_pin.svg',
color: color,
width: size,
height: size,
);
/// Name of icon asset
final String? assetName;