Movator
Links
Erzeugen
PROJ=sortator
cd /home/ws/flutter
mkdir $PROJ
cd $PROJ
flutter create --project-name=$PROJ --platforms=linux,android --template=app \
--description="Moves and renames files into different target directories" .
mkdir models controllers pages
vi pubspec.yaml
# dependencies:
# g: ^4.6.5
flutter get pub
- create a file models\sortator.dart
class Sortator {
final List<String> targetDirectories = [];
final List<String> categories = [];
}
- create a file controller\ortator_controler.dart
class SortatorController extends GetxController {
final sortator = Sortator().obs;
}