flutterless_foundation 0.0.0-dev.1
flutterless_foundation: ^0.0.0-dev.1 copied to clipboard
Flutter's foundation library, separated from Flutter. Great for Diagnosticable!
Flutterless Foundation #
Flutter's foundation library, separated from Flutter.
When imported in Flutter, Flutter's types will be used. When imported outside of Flutter, the mirrored copies are used.
This is intended for use when your package runs both inside and outside of the
Flutter environment, and you want to use types found in foundation (like
Diagnosticable).
Installation #
A version of flutterless_foundation has been created for each version of
Flutter, versioned identically.
Using Flutter v1.12.13+hotfix.1, go ahead and depend on
flutterless_foundation: v1.12.13+hotfix.1.
Usage #
Simply import the package. The conditional importing is handled internally.
import 'package:flutterless_foundation/flutterless_foundation.dart';