flutter icon indicating copy to clipboard operation
flutter copied to clipboard

Update field.dart to fix bug when the field type is inferred and not explicitly set

Open thejobsmarket opened this issue 7 months ago • 4 comments

final scaffoldKey = GlobalKey<ScaffoldState>(); The above example code gave a _type not initialised exception because the type is an inferred type. By making _type into String? _type, the problem is solved.

thejobsmarket avatar Jul 14 '24 07:07 thejobsmarket