File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -420,6 +420,7 @@ class _CodeFieldState extends State<CodeField> {
420
420
final gutterStyle = widget.gutterStyle.copyWith (
421
421
textStyle: lineNumberTextStyle,
422
422
errorPopupTextStyle: widget.gutterStyle.errorPopupTextStyle ??
423
+ CodeTheme .of (context)? .styles['root' ] ??
423
424
textStyle.copyWith (
424
425
fontSize: DefaultStyles .errorPopupTextSize,
425
426
backgroundColor: DefaultStyles .backgroundColor,
Original file line number Diff line number Diff line change @@ -100,9 +100,11 @@ class _GutterErrorWidgetState extends State<GutterErrorWidget> {
100
100
),
101
101
decoration: BoxDecoration (
102
102
color: style.backgroundColor,
103
- border: Border .all (
104
- color: style.color! ,
105
- ),
103
+ border: style.color != null
104
+ ? Border .all (
105
+ color: style.color! ,
106
+ )
107
+ : null ,
106
108
),
107
109
child: Column (
108
110
crossAxisAlignment: CrossAxisAlignment .start,
You can’t perform that action at this time.
0 commit comments