fix icons

This commit is contained in:
Salvatore Giordano
2020-11-24 13:48:58 +01:00
parent 987ad4e5ba
commit 74e399bcc0
4 changed files with 7 additions and 3 deletions
+4 -2
View File
@@ -105,8 +105,10 @@ class _GroupChatDetailsScreenState extends State<GroupChatDetailsScreen> {
StreamNeumorphicButton( StreamNeumorphicButton(
child: IconButton( child: IconButton(
padding: const EdgeInsets.all(0), padding: const EdgeInsets.all(0),
icon: StreamSvgIcon.check(), icon: StreamSvgIcon.check(
color: Color(0xFF006CFF), size: 24,
color: _isGroupNameEmpty ? Colors.grey : Color(0xFF006CFF),
),
onPressed: _isGroupNameEmpty onPressed: _isGroupNameEmpty
? null ? null
: () async { : () async {
+1
View File
@@ -161,6 +161,7 @@ class _NewGroupChatScreenState extends State<NewGroupChatScreen> {
child: Padding( child: Padding(
padding: const EdgeInsets.all(0.0), padding: const EdgeInsets.all(0.0),
child: StreamSvgIcon.close( child: StreamSvgIcon.close(
color: Colors.black,
size: 24, size: 24,
), ),
), ),
+1 -1
View File
@@ -1,6 +1,6 @@
name: example name: example
description: A new Flutter project. description: A new Flutter project.
version: 1.0.70+72 version: 1.0.71+73
environment: environment:
sdk: ">=2.2.2 <3.0.0" sdk: ">=2.2.2 <3.0.0"
+1
View File
@@ -76,6 +76,7 @@ class UserItem extends StatelessWidget {
? CircleAvatar( ? CircleAvatar(
child: StreamSvgIcon.check( child: StreamSvgIcon.check(
size: 20, size: 20,
color: Colors.white,
), ),
radius: 10, radius: 10,
) )