mirror of
https://github.com/DefinedNet/mobile_nebula.git
synced 2025-02-22 19:15:27 +00:00
dart fix --apply --code=sized_box_for_whitespace
This commit is contained in:
parent
dccd96844d
commit
b48971f130
3 changed files with 3 additions and 3 deletions
|
@ -26,7 +26,7 @@ class ConfigCheckboxItem extends StatelessWidget {
|
|||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
label != null ? Container(width: labelWidth, child: label) : Container(),
|
||||
label != null ? SizedBox(width: labelWidth, child: label) : Container(),
|
||||
Expanded(child: Container(padding: EdgeInsets.only(right: 10), child: content)),
|
||||
checked
|
||||
? Icon(CupertinoIcons.check_mark, color: CupertinoColors.systemBlue.resolveFrom(context))
|
||||
|
|
|
@ -34,7 +34,7 @@ class ConfigItem extends StatelessWidget {
|
|||
child: Row(
|
||||
crossAxisAlignment: crossAxisAlignment,
|
||||
children: <Widget>[
|
||||
Container(width: labelWidth, child: DefaultTextStyle(style: textStyle, child: Container(child: label))),
|
||||
SizedBox(width: labelWidth, child: DefaultTextStyle(style: textStyle, child: Container(child: label))),
|
||||
Expanded(child: DefaultTextStyle(style: textStyle, child: Container(child: content))),
|
||||
],
|
||||
),
|
||||
|
|
|
@ -52,7 +52,7 @@ class ConfigPageItem extends StatelessWidget {
|
|||
child: Row(
|
||||
crossAxisAlignment: crossAxisAlignment,
|
||||
children: <Widget>[
|
||||
label != null ? Container(width: labelWidth, child: label) : Container(),
|
||||
label != null ? SizedBox(width: labelWidth, child: label) : Container(),
|
||||
Expanded(child: Container(padding: EdgeInsets.only(right: 10), child: content)),
|
||||
disabled
|
||||
? Container()
|
||||
|
|
Loading…
Reference in a new issue