Is it possible to run a dart CLI command in Flutterflow? Missing icons from custom widget (flutter icon picker)

Custom Code

Hi All,

Is it possible to run a dart CLI command in Flutterflow?

I am trying to build a custom widget using the flutter_iconpicker library from pub.dev. The icon picker appears but has no icons. In the documentation (link) it says to run this command if the icon packs are missing:

dart run flutter_iconpicker:generate_packs --packs <material,cupertino,..>

What have you tried so far?

I have tried importing the icon packs mentioned in the pub.dev documentation. e.g.: import 'package:flutter_iconpicker/IconPicker/multiple_icon_picker.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/Cupertino.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/LineIcons.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/Material.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/MaterialDefault.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/MaterialOutlined.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/MaterialRounded.dart'; import 'package:flutter_iconpicker/IconPicker/Packs/MaterialSharp.dart';

Did you check FlutterFlow's Documentation for this topic?
Yes
1