generate method
Implementation
@override
Widget generate(Context context) {
String? name;
if (custom != null) {
name = custom!;
} else {
IndexedFile._indexed[this.name] = getId() + 1;
name = this.name + getId().toString();
}
if (path != null) name = '${path!.trim()}/$name';
return File(
name,
child: child,
execute: execute,
pack: pack,
inheritFolder: inheritFolder,
);
}