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

[indent style] This indentation is very unsightly #1441

Open
niuxinyu opened this issue Apr 20, 2024 · 0 comments
Open

[indent style] This indentation is very unsightly #1441

niuxinyu opened this issue Apr 20, 2024 · 0 comments

Comments

@niuxinyu
Copy link

This is the test code

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return Center(
        child: Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        const Text('你好'),
      ],
    ));
  }
}

and this is what it looks like
image

At the position of the Row component, the line break is not quite right,i think
Maybe it should look something like this?
image

And ,this is what it looks like in android studio
image

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

1 participant