Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Material 3 causes progressing misalignment in code and line numbers #262

Open
alexeyinkin opened this issue Nov 8, 2023 · 1 comment
Open

Comments

@alexeyinkin
Copy link
Contributor

alexeyinkin commented Nov 8, 2023

Note: This issue is about misalignment that progresses with each line. For equally misaligned lines with Material 2, see #261

Steps to reproduce:

  1. Take the 02.code_field example as of 0f18b2b
  2. Add the following property to MaterialApp:
      theme: ThemeData(
        useMaterial3: true,
      ),

Web:
image

iOS:
image

@T2XX
Copy link

T2XX commented May 2, 2024

you can solve it by using parameter:

 gutterStyle: const GutterStyle(textStyle: TextStyle(height: 1.5)),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants