David PHAM-VAN

Fix Bullet widget styling

@@ -5,6 +5,7 @@ @@ -5,6 +5,7 @@
5 - Fix Align debug painting 5 - Fix Align debug painting
6 - Fix GridView when empty 6 - Fix GridView when empty
7 - Reorder MultiPage paint operations 7 - Reorder MultiPage paint operations
  8 +- Fix Bullet widget styling
8 9
9 ## 1.4.1 10 ## 1.4.1
10 11
@@ -164,23 +164,27 @@ class Bullet extends StatelessWidget { @@ -164,23 +164,27 @@ class Bullet extends StatelessWidget {
164 @override 164 @override
165 Widget build(Context context) { 165 Widget build(Context context) {
166 return Container( 166 return Container(
167 - margin: margin,  
168 - padding: padding,  
169 - child: Row(  
170 - crossAxisAlignment: CrossAxisAlignment.start,  
171 - children: <Widget>[  
172 - Container(  
173 - width: bulletSize,  
174 - height: bulletSize,  
175 - margin: bulletMargin,  
176 - decoration:  
177 - BoxDecoration(color: bulletColor, shape: bulletShape),  
178 - ),  
179 - Expanded(  
180 - child: Text(text,  
181 - textAlign: textAlign,  
182 - style: Theme.of(context).bulletStyle))  
183 - ])); 167 + margin: margin,
  168 + padding: padding,
  169 + child: Row(
  170 + crossAxisAlignment: CrossAxisAlignment.start,
  171 + children: <Widget>[
  172 + Container(
  173 + width: bulletSize,
  174 + height: bulletSize,
  175 + margin: bulletMargin,
  176 + decoration: BoxDecoration(color: bulletColor, shape: bulletShape),
  177 + ),
  178 + Expanded(
  179 + child: Text(
  180 + text,
  181 + textAlign: textAlign,
  182 + style: Theme.of(context).bulletStyle.merge(style),
  183 + ),
  184 + )
  185 + ],
  186 + ),
  187 + );
184 } 188 }
185 } 189 }
186 190