Extra Credit

universal_platform

Replacement for dart.io.Platform class which works on Web as well as Desktop and Mobile. Allows platform checks in your view/model layer eas

$dart pub add universal_platform

Official docs outline

Extra Credit builds an outline of universal_platform's docs the first time your work uses it. Until then, start at the official documentation.

All 2,000