m3uzz / icon_picker

A Flutter widget to show an icon collection to pick. This widget extend TextField and has a similar behavior as TextFormField
https://pub.dartlang.org/packages/icon_picker
Other
11 stars 8 forks source link

Update to Flutter 2.8 breaks package #3

Closed jlnrrg closed 2 years ago

jlnrrg commented 2 years ago

With Flutter 2.8 the package breaks the build with the following message:

ERROR: ../../../.pub-cache/hosted/pub.dartlang.org/icon_picker-2.0.1/lib/material_icons.dart:38:27: Error: Member not found: 'six_ft_apart'.
../…/lib/material_icons.dart:38
ERROR:     'six_ft_apart': Icons.six_ft_apart,
ERROR:                           ^^^^^^^^^^^^
Exception: Build process failed
jlnrrg commented 2 years ago

As a similar package fixed this issue already, I decided to switch to it for now.

hslbetto commented 2 years ago

The problem was with the internal icon collection, but the package accepts passing its own custom collection. That would fix it. Anyway, the package is updated and fixed.