Skip to content

Custom Function - Import #6835

@stevebudz

Description

@stevebudz

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Target of URI doesn't exist: 'package:flutter/material.dart'.
Try creating the file referenced by the URI, or try using a URI for a file that does exist.darturi_does_not_exist

I get this error on all these default import statement:

import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:intl/intl.dart';
import 'package:timeago/timeago.dart' as timeago;
import '/flutter_flow/custom_functions.dart';
import '/flutter_flow/lat_lng.dart';
import '/flutter_flow/place.dart';
import '/flutter_flow/uploaded_file.dart';
import '/backend/backend.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import '/auth/firebase_auth/auth_util.dart';

Expected Behavior

No errors on the import statements.

Steps to Reproduce

Create a new Custom Function

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

library file:///flutter_flow/custom_functions.dart ../../../../../../flutter_flow/custom_functions.dart Target of URI doesn't exist: '/flutter_flow/custom_functions.dart'. Try creating the file referenced by the URI, or try using a URI for a file that does exist.darturi_does_not_exist

Visual documentation

Image

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions