Get your
own
website
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
import 'dart:io'; Future
main() async { final file = File('diary.txt'); await file.writeAsString('Today I learned about files.'); bool found = await file.exists(); print('File exists: $found'); String text = await file.readAsString(); print(text); await file.delete(); print('File exists: ${await file.exists()}'); }
File exists: true
Today I learned about files.
File exists: false