A Flutter Analyzer for Flutter Source Code.
https://pub.dev/packages/flutter_analyzer
- Parse Source Code
- Helper Classes
- AST to Json
- Modify AST with refactor helper
- Online Demo
- Update Ast -> Code
- Format Source
- Syntax Highlighting
- Analyzer Errors
Flutter Analyzer for Flutter
Home Page: https://rodydavis.github.io/flutter_analyzer/
License: Other
A Flutter Analyzer for Flutter Source Code.
https://pub.dev/packages/flutter_analyzer
I wanna use it to do some things with the AST, but It's very hard to run the project, do you have any tip?
flutter 2.0.1 api change
'DartController.buildTextSpan' ('TextSpan Function({required BuildContext context, TextStyle? style, required bool withComposing})') isn't a valid override of 'TextEditingController.buildTextSpan' ('TextSpan Function({TextStyle? style, required bool withComposing})')
in controller.dart file,line 25.
what is your flutter version?
@rodydavis Hi, I have some questions that need your help, I wanna create a new tool, that can change the dart file code, I parse a dart file and get a Variable list from [visitVariableDeclaration ].then loop this list to replace a string in dart file. but this is not good, because some code uses the same words as the following code.
var loading=false;
var loading_icon=xxx
I think there's a way to modify code from AST and generate new code, I don't know dart how to generate code from AST, maybe I can from here to solve this problem.
Do you have any good ideas? thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.