Skip to content
New issue

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

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

Already on GitHub? # 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)),

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

No branches or pull requests

2 participants