modify checkbox to have 3 radius
This commit is contained in:
@@ -235,6 +235,16 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
child: Container(
|
child: Container(
|
||||||
height: 16,
|
height: 16,
|
||||||
width: 16,
|
width: 16,
|
||||||
|
foregroundDecoration: BoxDecoration(
|
||||||
|
border: _sendAsDm
|
||||||
|
? null
|
||||||
|
: Border.all(
|
||||||
|
color: Colors.black.withOpacity(.5),
|
||||||
|
width: 2,
|
||||||
|
),
|
||||||
|
borderRadius: BorderRadius.circular(3),
|
||||||
|
),
|
||||||
|
child: Center(
|
||||||
child: Material(
|
child: Material(
|
||||||
borderRadius: BorderRadius.circular(3),
|
borderRadius: BorderRadius.circular(3),
|
||||||
color: _sendAsDm
|
color: _sendAsDm
|
||||||
@@ -253,7 +263,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
? CrossFadeState.showFirst
|
? CrossFadeState.showFirst
|
||||||
: CrossFadeState.showSecond,
|
: CrossFadeState.showSecond,
|
||||||
firstChild: Icon(
|
firstChild: Icon(
|
||||||
Icons.check,
|
StreamIcons.check,
|
||||||
size: 16.0,
|
size: 16.0,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
@@ -266,6 +276,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
padding: const EdgeInsets.symmetric(horizontal: 8.0),
|
||||||
child: Text('Send also as direct message'),
|
child: Text('Send also as direct message'),
|
||||||
|
|||||||
Reference in New Issue
Block a user