import 'package:flutter/foundation.dart'; no documentation for package

Issue

I see this import statement in many examples but can’t find any documentation for the package anywhere.

import 'package:flutter/foundation.dart';

Am I missing something obvious?

Thanks.

Solution

The documentation about flutter/foundation is available here

foundation library

Core Flutter framework primitives.

The features defined in this library are the lowest-level utility classes and functions used by all the other layers of the Flutter framework.

Answered By – Rémi Rousselet

Answer Checked By – Senaida (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *