This is the on Change function of the CustomTextFile
CustomTextFile
final Function(String)? onChanged;