I think, the gutter is off by one pixel, see:

Here's my configuration:
CodeField(
textStyle: const TextStyle(
fontFamily: 'Cascadia Mono',
// height: 1.5, // this seems to be the default
fontSize: 16,
),
gutterStyle: const GutterStyle(
textStyle: TextStyle(
color: Colors.white24,
fontSize: 16,
height: 1.5, // without this line, it doesn't match the text
),
),
...
I'm using version 0.2.15.
I think, the gutter is off by one pixel, see:

Here's my configuration:
I'm using version 0.2.15.