You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to import 「image_editor 1.3.0」 into my FlutterFlow project.
However, after importing it, I keep encountering the error message:
"Target of URI doesn't exist: 'package:flutter_image_editor_example/home_page.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist."
Even when I add the dependency "flutter_image_editor: ^2.1.0," the problem remains unsolved.
this is my code , help me plz
// Automatic FlutterFlow imports
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/widgets/index.dart'; // Imports other custom widgets
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom widget code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to import 「image_editor 1.3.0」 into my FlutterFlow project.
However, after importing it, I keep encountering the error message:
"Target of URI doesn't exist: 'package:flutter_image_editor_example/home_page.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist."
Even when I add the dependency "flutter_image_editor: ^2.1.0," the problem remains unsolved.
this is my code , help me plz
// Automatic FlutterFlow imports
import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';
import '/custom_code/widgets/index.dart'; // Imports other custom widgets
import '/flutter_flow/custom_functions.dart'; // Imports custom functions
import 'package:flutter/material.dart';
// Begin custom widget code
// DO NOT REMOVE OR MODIFY THE CODE ABOVE!
import 'dart:typed_data';
import 'package:flutter/services.dart';
import 'package:flutter_image_editor_example/home_page.dart';
import 'package:oktoast/oktoast.dart';
class ImgEditor extends StatefulWidget {
const ImgEditor({
Key? key,
this.width,
this.height,
}) : super(key: key);
final double? width;
final double? height;
@OverRide
_ImgEditorState createState() => _ImgEditorState();
}
class _ImgEditorState extends State {
@OverRide
Widget build(BuildContext context) {
return OKToast(
position: ToastPosition.bottom,
child: MaterialApp(
home: IndexPage(),
),
);
}
}
Future loadFromAsset(String key) async {
final ByteData byteData = await rootBundle.load(key);
return byteData.buffer.asUint8List();
}
Beta Was this translation helpful? Give feedback.
All reactions