You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish import 'package:flutter_riverpod/flutter_riverpod.dart'; would be automatically added to my Dart file when I'm converting a StatelessWidget or StatefulWidget to a ConsumerWidget or ConsumerStatefulWidget and the package import isn't already present.
Currently it's a two-step procedure: 1) Convert a StatelessWidget or a StatefulWidget to a ConsumerWidget or ConsumerStatefulWidget, followed by 2) Add the import statement. The conversion works even without the import statement. I think the process could be more seamless by automating the second step that everyone has to do anyways.
I'm using VSCode on macOS.
The text was updated successfully, but these errors were encountered:
I wish
import 'package:flutter_riverpod/flutter_riverpod.dart';
would be automatically added to my Dart file when I'm converting aStatelessWidget
orStatefulWidget
to aConsumerWidget
orConsumerStatefulWidget
and the package import isn't already present.Currently it's a two-step procedure: 1) Convert a
StatelessWidget
or aStatefulWidget
to aConsumerWidget
orConsumerStatefulWidget
, followed by 2) Add theimport
statement. The conversion works even without theimport
statement. I think the process could be more seamless by automating the second step that everyone has to do anyways.I'm using VSCode on macOS.
The text was updated successfully, but these errors were encountered: