The dart:io library is aimed at code that runs in Flutter and the standalone Dart VM . In this article we will give you a feel for what is currently possible with dart:io by going through a couple of examples. Note: When writing a Flutter app, use Flutter-specific APIs instead of dart:io whenever possible.
Read moreHow do you use dart io?
To use the dart:io library in your code:
Read moreHow do you use socket io in Flutter?
Prerequisites
Read more