Describe conditional imports on the 'Libraries' page #5109
Labels
a.libraries
Relating to the Dart standard libraries.
cl.duplicate
Closes issue as duplicate of another issue
e1-hours
Can complete in < 8 hours of normal, not dedicated, work
from.page-issue
Reported in a reader-filed concern
p2-medium
Necessary but not urgent concern. Resolve when possible.
st.triage.ltw
Indicates Lead Tech Writer has triaged
Page URL
https://dart.dev/language/libraries.html
Page source
https://github.com/dart-lang/site-www/tree/main/src/language/libraries.md
Describe the problem
There is not described syntax like
import 'html_stub.dart' if (dart.library.html) 'dart:html' as html;
but i see the source code used it. It must be described there.
P.S. What
dart.library.html
is here?Expected fix
Move or copy this section into the https://github.com/dart-lang/site-www/tree/main/src/language/libraries.md page and a little rewrite to more consistency. With a link to specification of the
dart.library
.Additional context
No response
The text was updated successfully, but these errors were encountered: