void updateScript(WidgetRef ref, String code) { ref.read(scriptProvider.notifier).update((state) => state + code); }