Home > Net >  Doxygen With Flutter
Doxygen With Flutter

Time:05-19

dose any one used doxygen to generate a Documentation for flutter project before , I know about dartdoc extension , but I need to generate it with doxygen format , I found someone generated a doc for main files in flutter , but I just searched too much to how i do it , and never found it , I wish someone could help ,

I tried with C and Java too , and nothing goes enter image description here

CodePudding user response:

To be able to see results of files with extensions that are not directly supported by doxygen, but contain code in a language supported by doxygen a number of settings have to be set (in this case we have Flutter dart files that are actually Java / Java like files):

INPUT_FILTERS  = *.dart
EXTENSION_<APPING = dart=java

When files are in a different directories or in subdirectories it is good to look at the settings:

INPUT = 
RECURSIVE=YES

as well.

In case a a language is not supported directly but can be transformed in a language that is supported by doxygen it is good to look at the doxygen filter possibilities as well (settings like INPUT_FILTER etc.).

  • Related