main library
dartnative_assists: analysis-server plugin entry point.
The Dart analysis server ships "Wrap with Container", "Convert to
StatefulWidget" and friends, but gates every one of them on the widget
class living in package:flutter/src/widgets/framework.dart. DartNative's
Widget lives in package:dartnative/src/core.dart, so none of those
assists appear in a DartNative project. This plugin re-implements them
against DartNative's types and adds warning rules for DartNative
behaviours that fail silently or crash at mount.
Enable it per project in analysis_options.yaml (top-level key):
plugins:
dartnative_assists: ^0.1.0
then restart the Dart Analysis Server in the IDE.
Classes
Properties
- plugin → DartNativeAssistsPlugin
-
final