dartnative_assists 0.1.1 copy "dartnative_assists: ^0.1.1" to clipboard
dartnative_assists: ^0.1.1 copied to clipboard

Analyzer plugin for DartNative: the Flutter-style wrap, remove, swap and convert widget assists, plus warnings for behaviours that fail silently.

0.1.1 #

  • Shorter package description for pub.dev.

0.1.0 #

Initial release.

Assists on a DartNative widget creation:

  • Wrap with Center, Container, Padding, SizedBox, Expanded, Flexible, SafeArea, GestureDetector, GlassEffectContainer, Column, Row, Stack, Builder, FutureBuilder, StreamBuilder, ValueListenableBuilder, or a widget name you type.
  • Remove this widget, Swap with child, Swap with parent.
  • Convert to children: / Convert to child:.
  • Move widget up / down inside a children: list.

Assists on a class header:

  • Convert to StatefulWidget, Convert to StatelessWidget.

Warning rules, on by default:

  • dartnative_fab_slot_android_only
  • dartnative_menu_action_must_be_alone
  • dartnative_uniform_border_only
  • dartnative_mirror_text_controller (with a quick fix)
  • dartnative_custom_paint_finite_size
  • dartnative_positioned_must_be_outermost
  • dartnative_snackbar_action_not_wired

Lint rules, opt-in:

  • dartnative_offstage_loses_state
0
likes
160
points
--
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Analyzer plugin for DartNative: the Flutter-style wrap, remove, swap and convert widget assists, plus warnings for behaviours that fail silently.

Repository (GitHub)
View/report issues

Topics

#dartnative #analyzer-plugin #assists #lints

License

MIT (license)

Dependencies

analysis_server_plugin, analyzer, analyzer_plugin, path

More

Packages that depend on dartnative_assists