Skip to content

Commit 19b9416

Browse files
committed
Merge branch 'pre-flutter-1.7'
# Conflicts: # .idea/workspace.xml # lib/src/fields/form_builder_segmented_control.dart # pubspec.lock
2 parents e9fd0cc + 5e49ddf commit 19b9416

File tree

751 files changed

+17522
-1324
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

751 files changed

+17522
-1324
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
## [3.2.9] - 20-Jul-2019
2+
* Added `borderColor`, `selectedColor`, `pressedColor`, `textStyle` options to `FormBuilderSegmentedControl` for `CupertinoSegmentedControl` customization
3+
14
## [3.2.8] - 12-Jul-2019
2-
Added `activeColor`, `checkColor`, `materialTapTargetSize` & `tristate` options to `FormBuilderCheckbox` and `FormBuilderCheckboxList` fo checkbox customization
5+
* Added `activeColor`, `checkColor`, `materialTapTargetSize` & `tristate` options to `FormBuilderCheckbox` and `FormBuilderCheckboxList` for checkbox customization
36

47
## [3.2.7] - 06-Jul-2019
58
* Fixed bug where `valueTransformer`s not working

doc/api/dart-async/Stream/map.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ <h5>Stream class</h5>
141141
The <code>convert</code> function is called once per data event per listener.
142142
If a broadcast stream is listened to more than once, each subscription
143143
will individually call <code>convert</code> on each data event.</p>
144+
<p>Unlike <a href="dart-async/Stream/transform.html">transform</a>, this method does not treat the stream as
145+
chunks of a single value. Instead each event is converted independently
146+
of the previous and following events, which may not always be correct.
147+
For example, UTF-8 encoding, or decoding, will give wrong results
148+
if a surrogate pair, or a multibyte UTF-8 encoding, is split into
149+
separate events, and those events are attempted encoded or decoded
150+
independently.</p>
144151
</section>
145152

146153
<section class="summary source-code" id="source">

doc/api/dart-async/Stream/transform.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,15 @@ <h5>Stream class</h5>
141141
Whether the returned stream is a broadcast stream or not,
142142
and which elements it will contain,
143143
is entirely up to the transformation.</p>
144+
<p>This method should always be used for transformations which treat
145+
the entire stream as representing a single value
146+
which has perhaps been split into several parts for transport,
147+
like a file being read from disk or being fetched over a network.
148+
The transformation will then produce a new stream which
149+
transforms the stream's value incrementally (perhaps using
150+
<a href="dart-convert/Converter/startChunkedConversion.html">Converter.startChunkedConversion</a>). The resulting stream
151+
may again be chunks of the result, but does not have to
152+
correspond to specific events from the source string.</p>
144153
</section>
145154

146155
<section class="summary source-code" id="source">

doc/api/dart-async/StreamTransformer/StreamTransformer.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ <h5>StreamTransformer class</h5>
9494
when a transformed stream is listened to. At that time, the callback
9595
receives the input stream (the one passed to <a href="dart-async/StreamTransformer/bind.html">bind</a>) and a
9696
boolean flag <code>cancelOnError</code> to create a <a href="dart-async/StreamSubscription-class.html">StreamSubscription</a>.</p>
97+
<p>If the transformed stream is a broadcast stream, so is the stream
98+
returned by the <a href="dart-async/StreamTransformer/bind.html">StreamTransformer.bind</a> method by this transformer.</p>
99+
<p>If the transformed stream is listened to multiple times, the <code>onListen</code>
100+
callback is called again for each new <a href="dart-async/Stream/listen.html">Stream.listen</a> call.
101+
This happens whether the stream is a broadcast stream or not,
102+
but the call will usually fail for non-broadcast streams.</p>
97103
<p>The <code>onListen</code> callback does <em>not</em> receive the handlers that were passed
98104
to <a href="dart-async/Stream/listen.html">Stream.listen</a>. These are automatically set after the call to the
99105
<code>onListen</code> callback (using <a href="dart-async/StreamSubscription/onData.html">StreamSubscription.onData</a>,

doc/api/dart-core/RegExp-class.html

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ <h5>dart:core library</h5>
148148
<a href="http://ecma-international.org/ecma-262/5.1/#sec-15.10">ecma-international.org/ecma-262/5.1/#sec-15.10</a>
149149
for the specification of JavaScript regular expressions.</p>
150150
<p><a href="dart-core/RegExp/firstMatch.html">firstMatch</a> is the main implementation method that applies a regular
151-
expression to a string and returns the first <a href="dart-core/Match-class.html">Match</a>. All
151+
expression to a string and returns the first <a href="dart-core/RegExpMatch-class.html">RegExpMatch</a>. All
152152
other methods in <a href="dart-core/RegExp-class.html">RegExp</a> can build on it.</p>
153153
<p>Use <a href="dart-core/RegExp/allMatches.html">allMatches</a> to look for all matches of a regular expression in
154154
a string.</p>
155155
<p>The following example finds all matches of a regular expression in
156156
a string.</p>
157157
<pre class="language-dart"><code class="language-dart">RegExp exp = new RegExp(r"(\w+)");
158158
String str = "Parse my string";
159-
Iterable&lt;Match&gt; matches = exp.allMatches(str);
159+
Iterable&lt;RegExpMatch&gt; matches = exp.allMatches(str);
160160
</code></pre>
161161
<p>Note the use of a <em>raw string</em> (a string prefixed with <code>r</code>)
162162
in the example above. Use a raw string to treat each character in a string
@@ -183,7 +183,7 @@ <h2>Constructors</h2>
183183

184184
<dl class="constructor-summary-list">
185185
<dt id="RegExp" class="callable">
186-
<span class="name"><a href="dart-core/RegExp/RegExp.html">RegExp</a></span><span class="signature">(<span class="parameter" id="-param-source"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">source</span>, {</span> <span class="parameter" id="-param-multiLine"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">multiLine</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-caseSensitive"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">caseSensitive</span>: <span class="default-value">true</span></span> })</span>
186+
<span class="name"><a href="dart-core/RegExp/RegExp.html">RegExp</a></span><span class="signature">(<span class="parameter" id="-param-source"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">source</span>, {</span> <span class="parameter" id="-param-multiLine"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">multiLine</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-caseSensitive"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">caseSensitive</span>: <span class="default-value">true</span>, </span> <span class="parameter" id="-param-unicode"><span>@Since(&quot;2.4&quot;)</span> <span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">unicode</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-dotAll"><span>@Since(&quot;2.4&quot;)</span> <span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">dotAll</span>: <span class="default-value">false</span></span> })</span>
187187
</dt>
188188
<dd>
189189
Constructs a regular expression. <a href="dart-core/RegExp/RegExp.html">[...]</a>
@@ -203,6 +203,14 @@ <h2>Properties</h2>
203203
<dd>
204204
Whether this regular expression is case sensitive. <a href="dart-core/RegExp/isCaseSensitive.html">[...]</a>
205205
<div class="features">read-only</div>
206+
</dd>
207+
<dt id="isDotAll" class="property">
208+
<span class="name"><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></span>
209+
<span class="signature">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
210+
</dt>
211+
<dd>
212+
Whether "." in this regular expression matches line terminators. <a href="dart-core/RegExp/isDotAll.html">[...]</a>
213+
<div class="features">@Since(&quot;2.4&quot;), read-only</div>
206214
</dd>
207215
<dt id="isMultiLine" class="property">
208216
<span class="name"><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></span>
@@ -211,6 +219,14 @@ <h2>Properties</h2>
211219
<dd>
212220
Whether this regular expression matches multiple lines. <a href="dart-core/RegExp/isMultiLine.html">[...]</a>
213221
<div class="features">read-only</div>
222+
</dd>
223+
<dt id="isUnicode" class="property">
224+
<span class="name"><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></span>
225+
<span class="signature">&#8594; <a href="dart-core/bool-class.html">bool</a></span>
226+
</dt>
227+
<dd>
228+
Whether this regular expression is in Unicode mode. <a href="dart-core/RegExp/isUnicode.html">[...]</a>
229+
<div class="features">@Since(&quot;2.4&quot;), read-only</div>
214230
</dd>
215231
<dt id="pattern" class="property">
216232
<span class="name"><a href="dart-core/RegExp/pattern.html">pattern</a></span>
@@ -244,7 +260,7 @@ <h2>Methods</h2>
244260
<dl class="callables">
245261
<dt id="allMatches" class="callable">
246262
<span class="name"><a href="dart-core/RegExp/allMatches.html">allMatches</a></span><span class="signature">(<wbr><span class="parameter" id="allMatches-param-input"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">input</span>, [</span> <span class="parameter" id="allMatches-param-start"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">start</span> = <span class="default-value">0</span></span> ])
247-
<span class="returntype parameter">&#8594; <a href="dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Match-class.html">Match</a></span>&gt;</span></span>
263+
<span class="returntype parameter">&#8594; <a href="dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/RegExpMatch-class.html">RegExpMatch</a></span>&gt;</span></span>
248264
</span>
249265
</dt>
250266
<dd>
@@ -253,7 +269,7 @@ <h2>Methods</h2>
253269
</dd>
254270
<dt id="firstMatch" class="callable">
255271
<span class="name"><a href="dart-core/RegExp/firstMatch.html">firstMatch</a></span><span class="signature">(<wbr><span class="parameter" id="firstMatch-param-input"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">input</span></span>)
256-
<span class="returntype parameter">&#8594; <a href="dart-core/Match-class.html">Match</a></span>
272+
<span class="returntype parameter">&#8594; <a href="dart-core/RegExpMatch-class.html">RegExpMatch</a></span>
257273
</span>
258274
</dt>
259275
<dd>
@@ -352,7 +368,9 @@ <h2>Static Methods</h2>
352368
<a href="dart-core/RegExp-class.html#instance-properties">Properties</a>
353369
</li>
354370
<li><a href="dart-core/RegExp/isCaseSensitive.html">isCaseSensitive</a></li>
371+
<li><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></li>
355372
<li><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></li>
373+
<li><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></li>
356374
<li><a href="dart-core/RegExp/pattern.html">pattern</a></li>
357375
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
358376
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>

doc/api/dart-core/RegExp/RegExp.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ <h5>RegExp class</h5>
6060
<a href="dart-core/RegExp-class.html#instance-properties">Properties</a>
6161
</li>
6262
<li><a href="dart-core/RegExp/isCaseSensitive.html">isCaseSensitive</a></li>
63+
<li><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></li>
6364
<li><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></li>
65+
<li><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></li>
6466
<li><a href="dart-core/RegExp/pattern.html">pattern</a></li>
6567
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
6668
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
@@ -89,7 +91,7 @@ <h5>RegExp class</h5>
8991

9092
<section class="multi-line-signature">
9193

92-
<span class="name ">RegExp</span>(<wbr><span class="parameter" id="-param-source"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">source</span>, {</span> <span class="parameter" id="-param-multiLine"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">multiLine</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-caseSensitive"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">caseSensitive</span>: <span class="default-value">true</span></span> })
94+
<span class="name ">RegExp</span>(<wbr><span class="parameter" id="-param-source"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">source</span>, {</span> <span class="parameter" id="-param-multiLine"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">multiLine</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-caseSensitive"><span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">caseSensitive</span>: <span class="default-value">true</span>, </span> <span class="parameter" id="-param-unicode"><span>@Since(&quot;2.4&quot;)</span> <span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">unicode</span>: <span class="default-value">false</span>, </span> <span class="parameter" id="-param-dotAll"><span>@Since(&quot;2.4&quot;)</span> <span class="type-annotation"><a href="dart-core/bool-class.html">bool</a></span> <span class="parameter-name">dotAll</span>: <span class="default-value">false</span></span> })
9395
</section>
9496

9597
<section class="desc markdown">
@@ -100,6 +102,10 @@ <h5>RegExp class</h5>
100102
end of a <em>line</em>, in addition to matching beginning and end of input,
101103
respectively.</p>
102104
<p>If <code>caseSensitive</code> is disabled, then case is ignored.</p>
105+
<p>If <code>unicode</code> is enabled, then the pattern is treated as a Unicode
106+
pattern as described by the ECMAScript standard.</p>
107+
<p>If <code>dotAll</code> is enabled, then the <code>.</code> pattern will match <em>all</em> characters,
108+
including line terminators.</p>
103109
<p>Example:</p>
104110
<pre class="language-dart"><code class="language-dart">var wordPattern = RegExp(r"(\w+)");
105111
var bracketedNumberValue = RegExp("$key: \\[\\d+\\]");
@@ -113,7 +119,10 @@ <h5>RegExp class</h5>
113119
<section class="summary source-code" id="source">
114120
<h2><span>Implementation</span></h2>
115121
<pre class="language-dart"><code class="language-dart">external factory RegExp(String source,
116-
{bool multiLine = false, bool caseSensitive = true});</code></pre>
122+
{bool multiLine = false,
123+
bool caseSensitive = true,
124+
@Since(&quot;2.4&quot;) bool unicode = false,
125+
@Since(&quot;2.4&quot;) bool dotAll = false});</code></pre>
117126
</section>
118127

119128
</div> <!-- /.main-content -->

doc/api/dart-core/RegExp/allMatches.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ <h5>RegExp class</h5>
6060
<a href="dart-core/RegExp-class.html#instance-properties">Properties</a>
6161
</li>
6262
<li><a href="dart-core/RegExp/isCaseSensitive.html">isCaseSensitive</a></li>
63+
<li><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></li>
6364
<li><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></li>
65+
<li><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></li>
6466
<li><a href="dart-core/RegExp/pattern.html">pattern</a></li>
6567
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
6668
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
@@ -88,7 +90,7 @@ <h5>RegExp class</h5>
8890
<div><h1>allMatches method</h1></div>
8991

9092
<section class="multi-line-signature">
91-
<span class="returntype"><a href="dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/Match-class.html">Match</a></span>&gt;</span></span>
93+
<span class="returntype"><a href="dart-core/Iterable-class.html">Iterable</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-core/RegExpMatch-class.html">RegExpMatch</a></span>&gt;</span></span>
9294
<span class="name ">allMatches</span>
9395
(<wbr><span class="parameter" id="allMatches-param-input"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">input</span>, [</span> <span class="parameter" id="allMatches-param-start"><span class="type-annotation"><a href="dart-core/int-class.html">int</a></span> <span class="parameter-name">start</span> = <span class="default-value">0</span></span> ])
9496
<div class="features">override</div>
@@ -100,7 +102,7 @@ <h5>RegExp class</h5>
100102

101103
<section class="summary source-code" id="source">
102104
<h2><span>Implementation</span></h2>
103-
<pre class="language-dart"><code class="language-dart">Iterable&lt;Match&gt; allMatches(String input, [int start = 0]);</code></pre>
105+
<pre class="language-dart"><code class="language-dart">Iterable&lt;RegExpMatch&gt; allMatches(String input, [int start = 0]);</code></pre>
104106
</section>
105107

106108
</div> <!-- /.main-content -->

doc/api/dart-core/RegExp/escape.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ <h5>RegExp class</h5>
6060
<a href="dart-core/RegExp-class.html#instance-properties">Properties</a>
6161
</li>
6262
<li><a href="dart-core/RegExp/isCaseSensitive.html">isCaseSensitive</a></li>
63+
<li><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></li>
6364
<li><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></li>
65+
<li><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></li>
6466
<li><a href="dart-core/RegExp/pattern.html">pattern</a></li>
6567
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
6668
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>

doc/api/dart-core/RegExp/firstMatch.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ <h5>RegExp class</h5>
6060
<a href="dart-core/RegExp-class.html#instance-properties">Properties</a>
6161
</li>
6262
<li><a href="dart-core/RegExp/isCaseSensitive.html">isCaseSensitive</a></li>
63+
<li><a href="dart-core/RegExp/isDotAll.html">isDotAll</a></li>
6364
<li><a href="dart-core/RegExp/isMultiLine.html">isMultiLine</a></li>
65+
<li><a href="dart-core/RegExp/isUnicode.html">isUnicode</a></li>
6466
<li><a href="dart-core/RegExp/pattern.html">pattern</a></li>
6567
<li class="inherited"><a href="dart-core/Object/hashCode.html">hashCode</a></li>
6668
<li class="inherited"><a href="dart-core/Object/runtimeType.html">runtimeType</a></li>
@@ -88,7 +90,7 @@ <h5>RegExp class</h5>
8890
<div><h1>firstMatch method</h1></div>
8991

9092
<section class="multi-line-signature">
91-
<span class="returntype"><a href="dart-core/Match-class.html">Match</a></span>
93+
<span class="returntype"><a href="dart-core/RegExpMatch-class.html">RegExpMatch</a></span>
9294
<span class="name ">firstMatch</span>
9395
(<wbr><span class="parameter" id="firstMatch-param-input"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">input</span></span>)
9496

@@ -100,7 +102,7 @@ <h5>RegExp class</h5>
100102

101103
<section class="summary source-code" id="source">
102104
<h2><span>Implementation</span></h2>
103-
<pre class="language-dart"><code class="language-dart">Match firstMatch(String input);</code></pre>
105+
<pre class="language-dart"><code class="language-dart">RegExpMatch firstMatch(String input);</code></pre>
104106
</section>
105107

106108
</div> <!-- /.main-content -->

0 commit comments

Comments
 (0)