Comments (3)
instead of:
// STARTER: import - do not remove comment
import 'package:my-project/ui/contacts/contacts_screen.dart';
import 'package:my-project/ui/contacts/edit/contacts_edit_vm.dart';
import 'package:my-project/ui/contacts/view/contacts_view_vm.dart';
import 'package:my-project/redux/contacts/contacts_actions.dart';
import 'package:my-project/redux/contacts/contacts_middleware.dart';
use:
// STARTER: import - do not remove comment
import 'ui/contacts/contacts_screen.dart';
import 'ui/contacts/edit/contacts_edit_vm.dart';
import 'ui/contacts/view/contacts_view_vm.dart';
import 'redux/contacts/contacts_actions.dart';
import 'redux/contacts/contacts_middleware.dart';
and in a file you can go up folders:
import '../../redux/contacts/contacts_actions.dart';
from flutter-redux-starter.
Maybe, not sure..
When we started with Flutter (around 6 months ago) I ran into problems using relative paths (ie, dart-lang/sdk#32916) and found always using the full path easier to work with. Additionally, this change would cause problems for people who used the older version of this project.
I'll keep it in mind if we release a v2 of the project.
from flutter-redux-starter.
Sounds good. As a final result, it is really helpful to copy files between projects. But performance may need to be more important here.
from flutter-redux-starter.
Related Issues (20)
- Automatically run Dart formatter to clean up the code HOT 8
- Fix URL issues with slashes or dashes
- Remove -e backup files created by sed on macOS HOT 4
- Use built_value for view models/enable StoreConnector.distinct
- Port shell script to source_gen (maybe?)
- XXX has stoped HOT 10
- SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 35779 HOT 27
- Invalid argument(s): Unknown type on deserialization. Need either specifiedType or discriminator field HOT 8
- Installation fails due to `http` package dependency HOT 8
- How to implement Login functionality HOT 1
- TODO comments fix HOT 2
- Login Functions HOT 2
- How to run the script in windows OS? HOT 1
- Couldn't clone hacker_news or posts HOT 2
- confusion when field is 'id'
- model .g file not create while i create new module with command HOT 2
- Exception has occurred. SocketException (SocketException: OS Error: Connection refused, errno = 111, address = 127.0.0.1, port = 53424)
- Add active/deleted state filter
- Set initial sort
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-redux-starter.