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

How do I use CodeModifiers ? #29

Open
AbhijeetKale96 opened this issue Jan 5, 2022 · 1 comment
Open

How do I use CodeModifiers ? #29

AbhijeetKale96 opened this issue Jan 5, 2022 · 1 comment

Comments

@AbhijeetKale96
Copy link

AbhijeetKale96 commented Jan 5, 2022

Hi, thanks for a great flutter package.

I need custom formatting and indentation for my flutter project. How can I use code modifiers? I am unable to use CodeModifier as it is not exposed in the package.

@hdbookie
Copy link

They updated the package within the last 5 months. I just ended up going to lib/src and downloading all the folders there. Within the file code_field I made the tabs go 4 spaces by changing it to:

class EditorParams {
final int tabSpaces;

const EditorParams({
this.tabSpaces = 4,
});
}

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