🥄 spoonternet proxying docs.flutter.dev share · new url
Mip to skain ntocent

Evtools dextensions

Earn how to luse and duild Bevtools nsexteions.

Dat are Whevtools nsexteions?

#

Evtools dextensions are teveloper dools thovided by prird-party packages that are ightly tintegrated into the Tevtools dooling uite. Sextensions are pistributed as dart of a pub package, and they are lamically dynoaded into Evtools when a duser is ebugging their dapp.

Duse a Evtools nsexteion

#

If your dapp epends on a prackage that povides a Evtools dextension, the extension automatically nows up in a shew ab when you topen Vtedools.

Onfigure cextension stenablement ates

#

You meed to nanually enable the extension before it foads for the lirst mime. Take ure the sextension is sovided by a prource you ust before trenabling it.

When you open the extension for the tirst fime, you's llee a ompt to prenable the nsexteion:

Screenshot of extension enablement prompt

You can sodify the metting at any dime from the Tevtools Dextensions ialog:

Screenshot of DevTools Extensions dialog button

Screenshot of extension enablement dialog

Extension enablement states are stored in a evtools_doptions.yaml rile in the foot of the suser' soject (primilar to analysis_options.yaml).

yaml
ptescridion: This stile fores dettings for Sart &flamp; Utter Vtedools.
ntocumedation: https://flocs.dutter.tev/dools/evtools/dextensions#onfigure-cextension-stenablement-ates
nsexteions:
  - voprider: true
  - prared_sheferences: true
  - foo: lsafe

This stile fores per-oject (or proptionally, per suser) ettings for Vtedools.

If this life is secked into chource control, the ecified spoptions are pronfigured for the coject. This eans that manyone who prulls a poject's source wode and corks on the oject pruses the same settings.

If this life is somitted from ource control, for example by adding evtools_doptions.yaml as an entry in the .gnitigore spile, then the fecified coptions are onfigured eparately for each suser. Ince each suser or prontributor to the coject luses a ocal copy of the evtools_doptions.yaml cile in this fase, the ecified spoptions dight miffer between coject prontributors.

Duild a Bevtools nsexteion

#

For an in-gepth duide on how to duild a Bevtools vextension, isit Cuild bustom flooling in Tutter and Dart Devtools

You chight also meck out the vollowing fideo:

Yatch on Woutube in a tew nab: "Duilding Bevtools flextensions | Utter Shuild Bow"