You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
6.3 KiB
35 lines
6.3 KiB
<application>
|
|
<component name="Translation.Cache">
|
|
<option name="lastTrimTime" value="1680503469492" />
|
|
</component>
|
|
<component name="Translation.States">
|
|
<histories>
|
|
<item value="basic Style" />
|
|
<item value="decorated Style" />
|
|
<item value="The argument [timeout] is used to specify the maximum allowed time to wait for a connection to be established. If [timeout] is longer than the system level timeout duration, a timeout may occur sooner than specified in [timeout]. On timeout, a [SocketException] is thrown and all ongoing connection attempts to [host] are cancelled." />
|
|
<item value="The [sourcePort] defines the local port to bind to. If [sourcePort] is not specified or zero, a port will be chosen." />
|
|
<item value="The argument [sourceAddress] can be used to specify the local address to bind when making the connection. The [sourceAddress] can either be a [String] or an [InternetAddress]. If a [String] is passed it must hold a numeric IP address." />
|
|
<item value="Creates a new socket connection to the host and port and returns a [Future] that will complete with either a [Socket] once connected or an error if the host-lookup or connection failed. [host] can either be a [String] or an [InternetAddress]. If [host] is a [String], [connect] will perform a [InternetAddress.lookup] and try all returned [InternetAddress]es, until connected. Unless a connection was established, the error from the first failing connection is returned. The argument [sourceAddress] can be used to specify the local address to bind when making the connection. The [sourceAddress] can either be a [String] or an [InternetAddress]. If a [String] is passed it must hold a numeric IP address. The [sourcePort] defines the local port to bind to. If [sourcePort] is not specified or zero, a port will be chosen. The argument [timeout] is used to specify the maximum allowed time to wait for a connection to be established. If [timeout] is longer than the system level timeout duration, a timeout may occur sooner than specified in [timeout]. On timeout, a [SocketException] is thrown and all ongoing connection attempts to [host] are cancelled." />
|
|
<item value="Whether this map contains the given [key]. Returns true if any of the keys in the map are equal to `key` according to the equality used by the map. ```dart final moonCount = <String, int>{'Mercury': 0, 'Venus': 0, 'Earth': 1, 'Mars': 2, 'Jupiter': 79, 'Saturn': 82, 'Uranus': 27, 'Neptune': 14 }; final containsUranus = moonCount.containsKey('Uranus'); true final containsPluto = moonCount.containsKey('Pluto'); false ```" />
|
|
<item value="The value for the given [key], or `null` if [key] is not in the map. Some maps allow `null` as a value. For those maps, a lookup using this operator cannot distinguish between a key not being in the map, and the key being there with a `null` value. Methods like [containsKey] or [putIfAbsent] can be used if the distinction is important." />
|
|
<item value="Creates a new string by concatenating this string with itself a number of times. The result of `str n` is equivalent to `str + str + ...`(n times)`... + str`. ```dart const string = 'Dart'; final multiplied = string 3; print(multiplied); 'DartDartDart' ``` Returns an empty string if [times] is zero or negative." />
|
|
<item value="shuffle" />
|
|
<item value="Shuffles the elements of this list randomly. ```dart final numbers = <int>[1, 2, 3, 4, 5]; numbers.shuffle(); print(numbers); [1, 3, 4, 5, 2] OR some other random result. ```" />
|
|
<item value="_Labels Pattern" />
|
|
<item value="fling" />
|
|
<item value="If `test` returns `true`, [onError] is called with the error and possibly stack trace, and the returned future is completed with the result of this call in exactly the same way as for [then]'s `onError`. If `test` is omitted, it defaults to a function that always returns true. The `test` function should not throw, but if it does, it is handled as if the `onError` function had thrown. Note that futures don't delay reporting of errors until listeners are added. If the first `catchError` (or `then`) call happens after this future has completed with an error then the error is reported as unhandled error. See the description on [Future]." />
|
|
<item value="If [onError] is not given, and this future completes with an error, the error is forwarded directly to the returned future. In most cases, it is more readable to use [catchError] separately, possibly with a `test` parameter, instead of handling both value and error in a single [then] call. Note that futures don't delay reporting of errors until listeners are added. If the first `then` or `catchError` call happens after this future has completed with an error, then the error is reported as unhandled error. See the description on [Future]." />
|
|
<item value="regenerating Story Index" />
|
|
<item value="Animated version of [Padding] which automatically transitions the indentation over a given duration whenever the given inset changes. {@youtube 560 315 https:www.youtube.comwatch?v=PY2m0fhGNz4} Here's an illustration of what using this widget looks like, using a [curve] of [Curves.fastOutSlowIn]. {@animation 250 266 https:flutter.github.ioassets-for-api-docsassetswidgetsanimated_padding.mp4} {@tool dartpad} The following code implements the [AnimatedPadding] widget, using a [curve] of [Curves.easeInOut]. See code in examplesapilibwidgetsimplicit_animationsanimated_padding.0.dart {@end-tool} See also: [AnimatedContainer], which can transition more values at once. [AnimatedAlign], which automatically transitions its child's position over a given duration whenever the given [AnimatedAlign.alignment] changes." />
|
|
<item value="fix: avoid open monitor many times." />
|
|
<item value="Creates a [Shader] for this gradient to fill the given rect. If the gradient's configuration is text-direction-dependent, for example it uses [AlignmentDirectional] objects instead of [Alignment] objects, then the `textDirection` argument must not be null. The shader's transform will be resolved from the [transform] of this gradient." />
|
|
<item value="create Shader" />
|
|
</histories>
|
|
<option name="languageScores">
|
|
<map>
|
|
<entry key="CHINESE" value="19" />
|
|
<entry key="ENGLISH" value="20" />
|
|
</map>
|
|
</option>
|
|
</component>
|
|
</application> |