_common library
Classes
- ExperimentalAnnotation1
- The class that enables the @experimental1 annotation.
- ExperimentalAnnotation2
- The class that enables the @experimental2 annotation.
- ExperimentalAnnotation3
- The class that enables the @experimental3 annotation.
- MustAwaitAllFuturesAnnotation
- The class that enables the @mustAwaitAllFutures annotation.
- MustAwaitAllFuturesOrErrorAnnotation
- The class that enables the @mustAwaitAllFuturesOrError annotation.
- MustBeAnonymousAnnotation
- The class that enables the @mustBeAnonymous annotation.
- MustBeAnonymousOrErrorAnnotation
- The class that enables the @mustBeAnonymousOrError annotation.
- MustBeStrongRefAnnotation
- The class that enables the @mustBeStrongRef annotation.
- MustBeStrongRefOrErrorAnnotation
- The class that enables the @mustBeStrongRefOrError annotation.
- MustHandleReturnAnnotation
- The class that enables the @mustHandleReturn annotation.
- MustHandleReturnOrErrorAnnotation
- The class that enables the @mustHandleReturnOrError annotation.
- NoFuturesAnnotation
- The class that enables the @noFutures annotation.
- NoFuturesOrErrorAnnotation
- The class that enables the @noFuturesOrError annotation.
- SendableAnnotation
- The class that enables the @sendable annotation.
- SendableOrErrorAnnotation
- The class that enables the @sendableOrError annotation.
- UnsafeAnnotation
- The class that enables the @unsafe annotation.
- UnsafeOrErrorAnnotation
- The class that enables the @unsafeOrError annotation.
Constants
- experimental1 → const ExperimentalAnnotation1
- experimental2 → const ExperimentalAnnotation2
- experimental3 → const ExperimentalAnnotation3
- mustAwaitAllFutures → const MustAwaitAllFuturesAnnotation
- mustAwaitAllFuturesOrError → const MustAwaitAllFuturesOrErrorAnnotation
- mustBeAnonymous → const MustBeAnonymousAnnotation
- mustBeAnonymousOrError → const MustBeAnonymousOrErrorAnnotation
- mustBeStrongRef → const MustBeStrongRefAnnotation
- mustBeStrongRefOrError → const MustBeStrongRefOrErrorAnnotation
- mustHandleReturn → const MustHandleReturnAnnotation
- mustHandleReturnOrError → const MustHandleReturnOrErrorAnnotation
- noFutures → const NoFuturesAnnotation
- noFuturesOrError → const NoFuturesOrErrorAnnotation
- sendable → const SendableAnnotation
-
Marks a parameter whose value must be sendable through
SendPort. Function arguments must be a top-level function or a static method reference — closures and instance-method tear-offs are rejected because Dart's isolate runtime cannot copy them. - sendableOrError → const SendableOrErrorAnnotation
- Like @sendable but the lint fires as an error rather than a warning.
- unsafe → const UnsafeAnnotation
- unsafeOrError → const UnsafeOrErrorAnnotation