callback property

void Function(BuildContext context, String? oldName, String newName) callback
final

A callback that is being called when user has changed their display name.

Implementation

final void Function(
  BuildContext context,
  String? oldName,
  String newName,
) callback;