Files
smooth-app/packages/smooth_app/lib/data_models/smooth_upload_model.dart
monsieurtanuki 194da755ef Null safety on data_models and database folders
As a side effect I've also removed 4 stale files that were kept "just in case".
2021-06-28 12:49:21 +02:00

23 lines
442 B
Dart

import 'package:flutter/foundation.dart';
class SmoothUploadModel extends ChangeNotifier {
String? frontPath;
String? ingredientsPath;
String? nutritionPath;
void setFrontPath(String path) {
frontPath = path;
notifyListeners();
}
void setIngredientsPath(String path) {
ingredientsPath = path;
notifyListeners();
}
void setNutritionPath(String path) {
nutritionPath = path;
notifyListeners();
}
}