Viewing version 1.0.3. Open the latest package page.

meta

1.0.3

This library contains the definitions of annotations that provide additional semantic information about the program being annotated. These annotations are intended to be used by tools to provide a better user experience.

Download archive

Readme

Documentation is not available for this version yet.

Changelog

1.0.3

  • Introduce @checked to override a method and tighten a parameter type (SDK issue 25578).

    import 'package:meta/meta.dart' show checked;
    class View {
      addChild(View v) {}
    }
    class MyView extends View {
      // this override is legal, it will check at runtime if we actually
      // got a MyView.
      addChild(@checked MyView v) {}
    }
    main() {
      dynamic mv = new MyView();
      mv.addChild(new View()); // runtime error
    }
    

1.0.2

  • Introduce @visibleForTesting annotation for declarations that may be referenced only in the library or in a test.

1.0.1

  • Updated @factory to allow statics and methods returning null.

1.0.0

  • First stable API release.

0.12.2

  • Updated @protected to include implemented interfaces (linter#252).

0.12.1

  • Fixed markdown in dartdocs.

0.12.0

  • Introduce @optionalTypeArgs annotation for classes whose type arguments are to be treated as optional.

0.11.0

  • Added new Required constructor with a means to specify a reason to explain why a parameter is required.

0.10.0

  • Introduce @factory annotation for methods that must either be abstract or must return a newly allocated object.
  • Introduce @literal annotation that indicates that any invocation of a constructor must use the keyword const unless one or more of the arguments to the constructor is not a compile-time constant.

0.9.0

  • Introduce @protected annotation for members that must only be called from instance members of subclasses.
  • Introduce @required annotation for optional parameters that should be treated as required.
  • Introduce @mustCallSuper annotation for methods that must be invoked by all overriding methods.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'meta:1.0.3'
pubspec.yaml
name: meta
version: 1.0.3
author: Dart Team <misc@dartlang.org>
homepage: http://www.dartlang.org
description: >
 This library contains the definitions of annotations that provide additional
 semantic information about the program being annotated. These annotations are
 intended to be used by tools to provide a better user experience.
environment:
  sdk: '>=1.12.0 <2.0.0'

Version history

VersionPublishedArchiveSHA-256
0.2.7Cached · Upstream SHA-256 matchedDownloadb7774b74…53f73d
0.2.8+2Cached · Upstream SHA-256 matchedDownloadcf636132…a569a9
0.2.9+7Cached · Upstream SHA-256 matchedDownloadf7cbc0f8…7e4a53
0.2.10+1Cached · Upstream SHA-256 matchedDownload421f8c74…914005
0.3.1+1Cached · Upstream SHA-256 matchedDownload2d11f345…f8dc9a
0.3.2Cached · Upstream SHA-256 matchedDownloadc4ae6b03…55a3bb
0.3.4Cached · Upstream SHA-256 matchedDownloadfaaa31bd…35214f
0.3.5+1Cached · Upstream SHA-256 matchedDownload1ea45b3f…9853f5
0.3.7+6Cached · Upstream SHA-256 matchedDownload1e329e12…44d423
0.4.0Cached · Upstream SHA-256 matchedDownload03483e36…f2d71b
0.4.1Cached · Upstream SHA-256 matchedDownload98f72ae7…0348c7
0.4.1+1Cached · Upstream SHA-256 matchedDownloadc8e22ff8…5a6b96
0.4.2Cached · Upstream SHA-256 matchedDownload55e3234f…2cbeca
0.4.3+1Cached · Upstream SHA-256 matchedDownload6e781aa7…4ff91e
0.4.4+4Cached · Upstream SHA-256 matchedDownload9374dd08…fb83a2
0.4.5+1Cached · Upstream SHA-256 matchedDownload23ae25be…8e6d41
0.4.7+1Cached · Upstream SHA-256 matchedDownloade1ec947d…6df39e
0.5.0+1Cached · Upstream SHA-256 matchedDownload4d119d65…bc5e43
0.5.1Cached · Upstream SHA-256 matchedDownloade7e22542…6a3c12
0.5.4Cached · Upstream SHA-256 matchedDownload26da983a…75cafa
0.5.5Cached · Upstream SHA-256 matchedDownload758f8af4…d4fe23
0.5.6Cached · Upstream SHA-256 matchedDownload0ce1f0e7…16e198
0.5.7Cached · Upstream SHA-256 matchedDownload5318ab5b…d3c7cf
0.5.9Cached · Upstream SHA-256 matchedDownload73515791…1fd9aa
0.5.11+1Cached · Upstream SHA-256 matchedDownload63e508a8…910000
0.5.12Cached · Upstream SHA-256 matchedDownload821e19e9…124046
0.5.13Cached · Upstream SHA-256 matchedDownloadbb4af190…1b2d79
0.5.14+1Cached · Upstream SHA-256 matchedDownloadf7765c0c…a6e354
0.5.14+3Cached · Upstream SHA-256 matchedDownloadecc5b02f…ba7c19
0.5.15Cached · Upstream SHA-256 matchedDownload6bdbbfa3…db9135
0.5.16Cached · Upstream SHA-256 matchedDownloadbb2cac90…b4036a
0.5.17Cached · Upstream SHA-256 matchedDownloadd7c4cdc8…5dcec6
0.5.20Cached · Upstream SHA-256 matchedDownloadd0b66862…6fed8b
0.6.1Cached · Upstream SHA-256 matchedDownload405e8ac7…412598
0.6.2Cached · Upstream SHA-256 matchedDownload6a264021…eabc6f
0.6.3+1Cached · Upstream SHA-256 matchedDownload1552c487…cc014a
0.6.5Cached · Upstream SHA-256 matchedDownload5edb4dc0…c72ed1
0.6.6Cached · Upstream SHA-256 matchedDownload8e0f1b4e…cd9a78
0.6.8Cached · Upstream SHA-256 matchedDownload523a38c3…2e0655
0.6.9Cached · Upstream SHA-256 matchedDownload5860b2ec…a37dad
0.6.9+2Cached · Upstream SHA-256 matchedDownload8364c04b…c6c260
0.6.11Cached · Upstream SHA-256 matchedDownload5199d969…f1c1f3
0.6.12Cached · Upstream SHA-256 matchedDownloadda58076a…2dc0a7
0.6.13Cached · Upstream SHA-256 matchedDownload61f79ce2…0facbb
0.6.14Cached · Upstream SHA-256 matchedDownload2a1db190…dfeaf1
0.6.15+2Cached · Upstream SHA-256 matchedDownload57fac039…b8e2bf
0.6.15+3Cached · Upstream SHA-256 matchedDownload7fb660fe…549192
0.6.17Cached · Upstream SHA-256 matchedDownloadef2197e7…f6a09e
0.6.17+2Cached · Upstream SHA-256 matchedDownload31a6adda…b0ad6d
0.6.19Cached · Upstream SHA-256 matchedDownload846dd352…e52020
0.6.20+1Cached · Upstream SHA-256 matchedDownloadf0ccf312…4dbc5b
0.6.21+3Cached · Upstream SHA-256 matchedDownloadb7d6de15…44144c
0.7.0Cached · Upstream SHA-256 matchedDownloadd1151029…a045f7
0.7.1Cached · Upstream SHA-256 matchedDownload3bff00f3…f0bf6b
0.7.2Cached · Upstream SHA-256 matchedDownload2941b034…a1dcf5
0.7.2+1Cached · Upstream SHA-256 matchedDownload138442dc…be70e7
0.7.3+1Cached · Upstream SHA-256 matchedDownloadafdefc5c…075474
0.7.4Cached · Upstream SHA-256 matchedDownload0876c53c…5b6d32
0.7.5Cached · Upstream SHA-256 matchedDownloade90088ea…9132fb
0.7.6Cached · Upstream SHA-256 matchedDownload3b13dede…6cbf4f
0.7.6+4Cached · Upstream SHA-256 matchedDownload7d77dfe0…696998
0.8.0Cached · Upstream SHA-256 matchedDownload6f2350b9…72a35d
0.8.1Cached · Upstream SHA-256 matchedDownload21b7e739…1cf33d
0.8.2Cached · Upstream SHA-256 matchedDownload833c9eb9…33f286
0.8.3Cached · Upstream SHA-256 matchedDownloadb010fdec…4a1604
0.8.4Cached · Upstream SHA-256 matchedDownloadd1c28ea0…dcf4d1
0.8.5Cached · Upstream SHA-256 matchedDownload2a9fecf6…f2bce8
0.8.6Cached · Upstream SHA-256 matchedDownloadd0d6c675…123cc1
0.8.7Cached · Upstream SHA-256 matchedDownload707eb4ff…dc40ca
0.8.8Cached · Upstream SHA-256 matchedDownload0f48ee47…4bb408
0.9.0Cached · Upstream SHA-256 matchedDownloadacb97acd…b3fbdc
0.10.0Cached · Upstream SHA-256 matchedDownloadee12d7b6…4152da
0.11.0Cached · Upstream SHA-256 matchedDownload33ffa183…1a1c99
0.12.0Cached · Upstream SHA-256 matchedDownloadcc2af502…a0d21f
0.12.1Cached · Upstream SHA-256 matchedDownload5897e608…ffd754
1.0.1Cached · Upstream SHA-256 matchedDownload918f0597…240171
1.0.2Cached · Upstream SHA-256 matchedDownloadcc443eb2…e2da83
1.0.3Cached · Upstream SHA-256 matchedDownload4ac20641…9e9f1a
1.0.4Cached · Upstream SHA-256 matchedDownloadfa80faf1…397287
1.0.5Cached · Upstream SHA-256 matchedDownloade48e208f…22af2c
1.1.0Cached · Upstream SHA-256 matchedDownload4795c467…d7f664
1.1.1Cached · Upstream SHA-256 matchedDownloadf92bc0f0…92bc3e
1.1.2Cached · Upstream SHA-256 matchedDownloadaa0303db…be566e
1.1.5Cached · Upstream SHA-256 matchedDownloadacd640ae…b1548e
1.1.6Cached · Upstream SHA-256 matchedDownload01c92124…ebc303
1.1.7Cached · Upstream SHA-256 matchedDownloadb1552a01…1376c2
1.1.8Cached · Upstream SHA-256 matchedDownloadf7864e34…71093c
1.2.0Cached · Upstream SHA-256 matchedDownload7d251954…410971
1.2.1Cached · Upstream SHA-256 matchedDownloadc7e9a117…22fc1f
1.2.2Cached · Upstream SHA-256 matchedDownload4c461f27…82d342
1.2.3Cached · Upstream SHA-256 matchedDownload890d433e…e71ba3
1.2.4Cached · Upstream SHA-256 matchedDownload89a2bb46…ae86f9
1.3.0-nullsafetyCached · Upstream SHA-256 matchedDownload156226d5…f00c89
1.3.0-nullsafety.1Cached · Upstream SHA-256 matchedDownloadd9a47ea8…06bc25
1.3.0-nullsafety.2Cached · Upstream SHA-256 matchedDownload4fc4c3e4…041254
1.3.0-nullsafety.3Cached · Upstream SHA-256 matchedDownloadf2ab7dd9…ffbfba
1.3.0-nullsafety.4Cached · Upstream SHA-256 matchedDownloadf23c87ec…4058ac
1.3.0-nullsafety.5Cached · Upstream SHA-256 matchedDownload77e06c48…e2eae1
1.3.0-nullsafety.6Cached · Upstream SHA-256 matchedDownloadae8cd058…0f236b
1.3.0Cached · Upstream SHA-256 matchedDownload98a7492d…dd21f7
1.4.0Cached · Upstream SHA-256 matchedDownload20e5f2ad…ef648a
1.5.0Cached · Upstream SHA-256 matchedDownload739281d7…b0ee0f
1.6.0Cached · Upstream SHA-256 matchedDownload5fc3139f…4e93d4
1.7.0Cached · Upstream SHA-256 matchedDownload5202fdd3…8c9485
1.8.0Cached · Upstream SHA-256 matchedDownload6c268b42…decf42
1.9.0Cached · Upstream SHA-256 matchedDownload12307e7f…55e82b
1.9.1Cached · Upstream SHA-256 matchedDownload3c74dbf8…090ee3
1.10.0Cached · Upstream SHA-256 matchedDownloada6e590c8…678b8e
1.11.0Cached · Upstream SHA-256 matchedDownloadd584fa67…0c0c04
1.12.0Cached · Upstream SHA-256 matchedDownload7687075e…0b9136
1.14.0Cached · Upstream SHA-256 matchedDownload25dfcaf1…1fe33b
1.15.0Cached · Upstream SHA-256 matchedDownloadbdb68674…19f8c7
1.16.0Cached · Upstream SHA-256 matchedDownloade3641ec5…ab950c
1.17.0Cached · Upstream SHA-256 matchedDownload23f08335…ef2394
1.18.0Cached · Upstream SHA-256 matchedDownload17419887…e2b349
1.18.1Cached · Upstream SHA-256 matchedDownload9f29b9bc…9f296f
1.18.2Cached · Upstream SHA-256 matchedDownloaddf0c643f…8df739
1.18.3Cached · Upstream SHA-256 matchedDownloadc8259418…9a059d
1.19.0Cached · Upstream SHA-256 matchedDownload307249ce…443dd9

Dependencies

No direct dependencies declared.