mirror of
https://github.com/openfoodfacts/smooth-app.git
synced 2025-08-06 18:25:11 +08:00
23 lines
442 B
Dart
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();
|
|
}
|
|
}
|