Showing
2 changed files
with
10 additions
and
5 deletions
| @@ -173,14 +173,18 @@ class Bullet extends StatelessWidget { | @@ -173,14 +173,18 @@ class Bullet extends StatelessWidget { | ||
| 173 | width: bulletSize, | 173 | width: bulletSize, |
| 174 | height: bulletSize, | 174 | height: bulletSize, |
| 175 | margin: bulletMargin, | 175 | margin: bulletMargin, |
| 176 | - decoration: | ||
| 177 | - BoxDecoration(color: bulletColor, shape: bulletShape), | 176 | + decoration: BoxDecoration(color: bulletColor, shape: bulletShape), |
| 178 | ), | 177 | ), |
| 179 | Expanded( | 178 | Expanded( |
| 180 | - child: Text(text, | 179 | + child: Text( |
| 180 | + text, | ||
| 181 | textAlign: textAlign, | 181 | textAlign: textAlign, |
| 182 | - style: Theme.of(context).bulletStyle)) | ||
| 183 | - ])); | 182 | + style: Theme.of(context).bulletStyle.merge(style), |
| 183 | + ), | ||
| 184 | + ) | ||
| 185 | + ], | ||
| 186 | + ), | ||
| 187 | + ); | ||
| 184 | } | 188 | } |
| 185 | } | 189 | } |
| 186 | 190 |
-
Please register or login to post a comment