Karol
Β Β·Β Your go-to Flutterflow guy

Import Flutter_flow_widgets.dart package throws error

Hey folks!

I wanted to use FFButtonWidget inside my custom code widget. I looked to the generated code, found out that this is from package: Flutter_flow_widgets.dart.

So I copy pasted import to my custom code widget, but there it throws me error: that the widget doesn't exist.

Which is strange, because in the automatic FF import you have other similar packages:

import '/flutter_flow/flutter_flow_theme.dart';
import '/flutter_flow/flutter_flow_util.dart';

Any ideas why it happens this way?

2
14 replies