@@ -83,8 +83,14 @@ class _ParamChipsSelectorState extends State<ParamChipsSelector> {
8383 crossAxisAlignment: WrapCrossAlignment .center,
8484 children: [
8585 SelectableText (_paramNameText,
86- style: TextStyle (color: Colors .red[700 ], fontSize: 11 , fontStyle: FontStyle .italic, height: 1.2 )),
87- Text (':' , style: TextStyle (color: Colors .black, fontSize: 11 , height: 1.2 )),
86+ style: TextStyle (
87+ color: Colors .red[700 ],
88+ fontSize: 11 ,
89+ fontStyle: FontStyle .italic,
90+ height: 1.2 )),
91+ Text (':' ,
92+ style:
93+ TextStyle (color: Colors .black, fontSize: 11 , height: 1.2 )),
8894 ],
8995 ),
9096 );
@@ -102,7 +108,8 @@ class _ParamChipsSelectorState extends State<ParamChipsSelector> {
102108 padding: const EdgeInsets .symmetric (horizontal: 5 , vertical: 2 ),
103109 margin: const EdgeInsets .only (bottom: 5 , right: 5 ),
104110 child: SelectableText ('${widget .selected }' ,
105- style: TextStyle (color: Colors .white, fontSize: 12 , height: 1.2 )),
111+ style: TextStyle (
112+ color: Colors .white, fontSize: 12 , height: 1.2 )),
106113 ),
107114 ),
108115 ])
@@ -111,7 +118,8 @@ class _ParamChipsSelectorState extends State<ParamChipsSelector> {
111118 Widget get _clearAction => IconButton (
112119 icon: Icon (Icons .clear_all),
113120 color: widget.selected.isNotEmpty ? Colors .red[700 ] : null ,
114- onPressed: widget.selected.isNotEmpty ? () => widget.onUpdate ([]) : null ,
121+ onPressed:
122+ widget.selected.isNotEmpty ? () => widget.onUpdate ([]) : null ,
115123 tooltip: widget.clearTooltip ?? 'Clear All' ,
116124 );
117125
@@ -123,10 +131,12 @@ class _ParamChipsSelectorState extends State<ParamChipsSelector> {
123131 );
124132
125133 @override
126- Widget build (BuildContext context) => Column (crossAxisAlignment: CrossAxisAlignment .start, children: [
134+ Widget build (BuildContext context) =>
135+ Column (crossAxisAlignment: CrossAxisAlignment .start, children: [
127136 ExpansionTile (
128137 controller: _controller,
129- title: Text (widget.title, style: TextStyle (fontSize: 14 , height: 1.2 )),
138+ title:
139+ Text (widget.title, style: TextStyle (fontSize: 14 , height: 1.2 )),
130140 subtitle: widget.subTitle,
131141 trailing: widget.action != null ? _actionWidget : _clearAction,
132142 dense: true ,
@@ -138,7 +148,10 @@ class _ParamChipsSelectorState extends State<ParamChipsSelector> {
138148 expandedCrossAxisAlignment: CrossAxisAlignment .start,
139149 tilePadding: EdgeInsets .zero,
140150 initiallyExpanded: widget.isExpanded,
141- children: [Wrap (spacing: 5 , runSpacing: 0 , children: _chips), SizedBox (height: 5 )],
151+ children: [
152+ Wrap (spacing: 5 , runSpacing: 0 , children: _chips),
153+ SizedBox (height: 5 )
154+ ],
142155 ),
143156 _paramResult,
144157 ]);
0 commit comments