chore: format checkbox_text

This commit is contained in:
Lucas.Xu
2022-08-17 21:14:38 +08:00
parent 0b2355abae
commit 95879111f9

View File

@ -76,7 +76,9 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
child: FlowySvg( child: FlowySvg(
size: Size.square(_iconSize), size: Size.square(_iconSize),
padding: EdgeInsets.only( padding: EdgeInsets.only(
top: topPadding, right: _iconRightPadding), top: topPadding,
right: _iconRightPadding,
),
name: check ? 'check' : 'uncheck', name: check ? 'check' : 'uncheck',
), ),
onTap: () { onTap: () {
@ -100,7 +102,8 @@ class _CheckboxNodeWidgetState extends State<CheckboxNodeWidget>
), ),
], ],
), ),
)); ),
);
} }
Widget _buildWithChildren(BuildContext context) { Widget _buildWithChildren(BuildContext context) {