Showing
1 changed file
with
11 additions
and
4 deletions
| @@ -186,9 +186,15 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex | @@ -186,9 +186,15 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex | ||
| 186 | return TexMarkdown(tableString); | 186 | return TexMarkdown(tableString); |
| 187 | } | 187 | } |
| 188 | var controller = ScrollController(); | 188 | var controller = ScrollController(); |
| 189 | - return Column( | ||
| 190 | - children: [ | ||
| 191 | - Scrollbar( | 189 | + return Padding( |
| 190 | + padding: const EdgeInsets.all(0.0), | ||
| 191 | + child: Material( | ||
| 192 | + color: Theme.of(context) | ||
| 193 | + .colorScheme | ||
| 194 | + .onInverseSurface, | ||
| 195 | + child: Padding( | ||
| 196 | + padding: const EdgeInsets.all(8.0), | ||
| 197 | + child: Scrollbar( | ||
| 192 | controller: controller, | 198 | controller: controller, |
| 193 | child: SingleChildScrollView( | 199 | child: SingleChildScrollView( |
| 194 | controller: controller, | 200 | controller: controller, |
| @@ -201,7 +207,8 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex | @@ -201,7 +207,8 @@ Markdown and LaTeX can be powerful tools for formatting text and mathematical ex | ||
| 201 | ), | 207 | ), |
| 202 | ), | 208 | ), |
| 203 | ), | 209 | ), |
| 204 | - ], | 210 | + ), |
| 211 | + ), | ||
| 205 | ); | 212 | ); |
| 206 | }, | 213 | }, |
| 207 | ), | 214 | ), |
-
Please register or login to post a comment