mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35:26 +00:00
Update package versions and refactor accordingly
This commit is contained in:
@ -7,7 +7,7 @@ import 'package:flutter/cupertino.dart';
|
||||
import 'package:one_context/one_context.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
// import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
|
||||
import 'dart:convert';
|
||||
|
||||
|
@ -301,6 +301,10 @@ class InvenTreePart extends InvenTreeModel {
|
||||
return img.isNotEmpty ? img : InvenTreeAPI.staticThumb;
|
||||
}
|
||||
|
||||
void uploadImage(File image) async {
|
||||
// TODO
|
||||
}
|
||||
|
||||
// Return the "starred" status of this part
|
||||
bool get starred => jsondata['starred'] as bool ?? false;
|
||||
|
||||
|
Reference in New Issue
Block a user