mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 01:03:45 +02:00
fix: type an untyped function variable
This commit is contained in:
parent
91735f40cd
commit
8d3be0083a
1 changed files with 2 additions and 2 deletions
|
@ -19,14 +19,14 @@ class ItemBuilder {
|
||||||
|
|
||||||
Widget build(
|
Widget build(
|
||||||
String key,
|
String key,
|
||||||
value,
|
String? value,
|
||||||
Widget? widget,
|
Widget? widget,
|
||||||
Function(String) updateItem,
|
Function(String) updateItem,
|
||||||
Function(String?) saveItem,
|
Function(String?) saveItem,
|
||||||
) {
|
) {
|
||||||
if (widget == null) {
|
if (widget == null) {
|
||||||
var controller = TextEditingController(
|
var controller = TextEditingController(
|
||||||
text: '${value ?? ''}',
|
text: value ?? '',
|
||||||
);
|
);
|
||||||
|
|
||||||
var inputDecoration =
|
var inputDecoration =
|
||||||
|
|
Loading…
Reference in a new issue