-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
I've tried to generate DI classes using inject.dart via flutter generate
It seems to generate classes under lib/* but not for test/*. It does not throw any error as such. Here are my relevant flutter classes.
pubspec.yaml
name: gc_client
description: A gc
version: 1.0.0+1
environment:
sdk: ">=2.1.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
json_annotation: ^2.0.0
rxdart: ^0.22.0
dio: ^2.1.3
inject:
path: ./inject.dart/package/inject
builders:
json_serializable: ^2.0.0
inject_generator:
path: ./inject.dart/package/inject_generator
dev_dependencies:
test: 1.6.1
flutter_test:
sdk: flutter
mockito: ^4.0.0
flutter:
uses-material-design: true
assets:
- assets/
Component classes
https://i.stack.imgur.com/d8iFa.png
Am I missing something? Let me know if you need more info. Thanks in advance.
Metadata
Metadata
Assignees
Labels
toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.