Giter Site home page Giter Site logo

flutter_analyzer's Introduction

flutter_analyzer

A Flutter Analyzer for Flutter Source Code.

https://pub.dev/packages/flutter_analyzer

Overview

  • 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's People

Contributors

rodydavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

flutter_analyzer's Issues

how can i change AST and generate new code for this.

@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.

flutter 2.0.1 stable api change

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.