Michael Goderbauer
5d03a59379
Allow wrapping CheckBox in Semantics ( #15259 )
2018-03-09 10:37:59 -08:00
Jonah Williams
7d1ceb4080
Add Text.rich constructor to Text widget ( #15317 )
...
* add fromSpan constructor to Text widget and simple smoke test:
* change fromSpan to rich, clean up comments
* 'directly from' to 'with'
* make sure text styles are applied to either data or textspan. add diagnostic properties for span
* add expectation for text style to test case
* some work on diagnostics and docs
2018-03-09 09:57:17 -08:00
Jacob Richman
046c6d5f7f
Track which Widget objects were created by the local project. ( #15041 )
...
Make flutter test support the --track-widget-creation flag.
Add widget creation location tests. Tests are skipped when
--track-widget-creation flag is not passed.
2018-03-09 08:09:49 -08:00
Michael Goderbauer
a9e2781132
Do not do semantics for detached objects ( #15320 )
2018-03-08 22:33:46 -08:00
Michael Goderbauer
f002839d44
Better print-out of semantics tree ( #15302 )
2018-03-08 19:14:43 -08:00
Jason Simmons
6f5bcb97a4
Do not add spacing to the first child's width in RenderWrap line wrapping ( #15272 )
...
The first child fits on the line if the line can accomodate its width.
After the first child the line needs room for the child's width plus spacing.
2018-03-08 15:01:37 -08:00
Todd Volkert
d996ab921c
Rename "slow mode" to be "debug mode" ( #15205 )
...
This moves toward more consistency in our messaging. Apps are
launched using --debug, so the banner will reflect the build
mode.
2018-03-08 12:54:06 -08:00
Stefano Rodriguez
b944cd7187
Plug TextDirection into box_decoration background gradient ( #14810 )
...
* Plug TextDirection into box_decoration background gradient
* Add test
2018-03-08 11:00:21 -08:00
Jason Simmons
7358d59036
Dart2 typesafe invocation of IsolateConfiguration callback ( #15267 )
2018-03-08 10:08:59 -08:00
Jonah Williams
27df288568
RenderWrap.performLayout should take spacing into consideration ( #15256 )
...
* RenderWrap.performLayout takes should take spacing into consideration when deciding to move to next row/axis
* fix spacing in text
* remove dart:developer import
* remove extra line
2018-03-07 13:00:14 -08:00
xster
c2261a3a2c
Remove a mixin from RenderListWheelViewport that was never used ( #14900 )
2018-03-07 11:56:36 -08:00
Josh Soref
c5a5945e92
Spelling ( #15229 )
...
* spelling: accommodate
* spelling: allotted
* spelling: anonymous
* spelling: artificial
* spelling: associated
* spelling: asset
* spelling: button
* spelling: canvas
* spelling: compatibility
* spelling: coverage
* spelling: condition
* spelling: decoration
* spelling: deferring
* spelling: diameter
* spelling: direction
* spelling: displacement
* spelling: dropdown
* spelling: needing
* spelling: environment
* spelling: exited
* spelling: expansion
* spelling: explore
* spelling: families
* spelling: horizontal
* spelling: increment
* spelling: indices
* spelling: internationalization
* spelling: labrador
* spelling: localizations
* spelling: midflight
* spelling: milliseconds
* spelling: minimum
* spelling: multiple
* spelling: multiplication
* spelling: navigator
* spelling: overridden
* spelling: package
* spelling: performance
* spelling: platform
* spelling: porsche
* spelling: position
* spelling: preceded
* spelling: precede
* spelling: precedence
* spelling: print
* spelling: property
* spelling: readily
* spelling: reproducibility
* spelling: rounded
* spelling: scroll
* spelling: separate
* spelling: separator
* spelling: services
* spelling: specific
* spelling: specify
* spelling: synchronously
* spelling: through
* spelling: timeout
* spelling: triangle
* spelling: trivial
* spelling: unusual
* spelling: then
* spelling: vertically
* spelling: visible
* spelling: visited
* spelling: voice
2018-03-06 21:36:03 -08:00
Hans Muller
e1c38aa024
Enable aligning a dropdown button's width with its menu's width ( #14849 )
2018-03-06 17:37:27 -08:00
xster
f048023638
Cupertino picker haptic ( #14831 )
...
* Add selection haptic feedback to Cupertino Pickers
* review
* don't haptic on android
2018-03-06 15:38:00 -08:00
Michael Goderbauer
86be138d9c
Make BottomNavBar accessible ( #15211 )
2018-03-06 15:08:39 -08:00
Sarah Zakarias
3ecc2a4ed2
Url encode asset lookup key ( #15171 )
2018-03-06 09:24:31 +01:00
Yegor
e9c982c39f
[semantics]: minor docs & style clean-up ( #15181 )
...
* [semantics]: minor docs & style clean-up
* remove a
2018-03-05 17:01:42 -08:00
Jonah Williams
419fef3f8b
Check that State.initState and State.didUpdateWidget don't return Futures ( #15183 )
...
* add a debug check that the returned Type of State.initState and State.didUpdateWidget are not Futures
* add test to verify that async lifecycles throw FlutterErrors
* address some feedback, match implementation of setState check
* address feedback from hixie
* fix odd spacing in test
2018-03-05 15:59:18 -08:00
Hans Muller
6e13128f45
OutlineButton doc fixes ( #15092 )
2018-03-02 17:43:22 -08:00
Siva
beffcf1ba1
Fix incorrect generic type specification, causes a compilation error ( #15049 )
...
when a hot reload is done after modifying a component in the flutter
package.
2018-03-02 15:43:40 -08:00
Alexander Aprelev
65731f75bd
Attempt to fix flutter drive --preview-dart-2 errors. ( #14897 )
2018-03-02 15:16:46 -08:00
Hans Muller
c4e8438046
Added Material OutlineButton ( #14939 )
2018-03-02 08:26:23 -08:00
Chris Bracken
73a1a74ba1
Eliminate RenderView orientation, timeForRotation ( #15044 )
...
Orientation, and by extension time for rotation between orientations,
was aspirational and never used.
While this is technically a breaking change, this code never actually
did anything. If you were setting either orientation or timeForRotation,
simply delete those parameters and the code will continue to behave
identically to how it had been.
2018-03-01 18:34:15 -08:00
Greg Spencer
a1d2443e7b
Fix render problem on Slider ( #15039 )
...
Fixes a small rendering problem when dragging the slider, as well as a couple of small bugs (de-duping of value changes, and actually using a parameter passed to _unlerp).
2018-03-01 16:25:21 -08:00
Greg Spencer
701eff4ac5
Slider Visual Update ( #14901 )
...
This implements an update to the look of the Slider widget.
Specifically, it does the following:
* Adds the ability to customize the colors of all components of the slider
* Adds the ability to customize the shape of the slider thumb and value indicator
* Adds the ability to show the value indicator on continuous sliders
* Updates the default value indicator to be a "paddle" shape with new animations.
* Changes the tick marks to be visible all the time on discrete sliders
* Fixes a memory leak of an animation controller.
* Removes "thumbOpenAtMin" flag, which is no longer needed, and can be emulated by the
custom thumb shape support. It was not widely used.
* Adds tests for all of the new features.
2018-03-01 13:03:20 -08:00
Ian Hickson
b9a7f1b915
Add a hasListeners to ChangeNotifier ( #14946 )
...
I found that some ValueListeners want to know when they should start
doing work (e.g. if the value comes from polling a network resource).
2018-02-28 16:37:36 -08:00
xster
265d0d3c29
Add more haptic feedback varieties ( #14829 )
...
* Add more haptic feedback varieties
* tests
* un-meta-ify the test
2018-02-28 16:20:27 -08:00
Phil Quitslund
a3f520e488
Add ‘name’s to widget location Json. ( #14993 )
2018-02-28 15:33:56 -08:00
najeira
e0956cbdb7
remove "the" duplications ( #14952 )
2018-02-28 12:21:13 -08:00
Siva
fbf68bbc6d
Roll engine to version b05efc204090f430387398d3c35589571a2fe16b ( #14969 )
...
* roll engine version in flutter/flutter to b05efc204090f430387398d3c35589571a2fe16b
* Fix analyzer warnings.
2018-02-28 11:00:37 -08:00
amirh
6993b203c0
Allow changing a clipper's type (ShapeBorderClipper,_BottomAppBarClipper). ( #14937 )
...
The downcast was crashing when toggling hasNotch for BottomAppBar.
2018-02-27 17:39:49 -08:00
David Shuckerow
758c221dc3
Doc improvements for animations ( #14892 )
...
* Doc improvements for animations
2018-02-26 15:39:42 -08:00
amirh
ed84fb9652
add a bottomAppBarColor to ThemeData ( #14859 )
2018-02-26 10:41:56 -08:00
amirh
1f3eb5034f
Add a hasNotch flag to BottomAppBar ( #14856 )
2018-02-23 18:35:40 -08:00
amirh
c6e7ad1cfb
Let the FAB compute the notch even when it doesn't overlap the BAB. ( #14852 )
...
The Floating Action Button adds some margin around it for the notch.
So we need to compute a notch even when the FAB and the Bottom App Bar
doe not overlap.
2018-02-23 15:34:03 -08:00
amirh
5d39f15c69
Smooth Floating Action Button notch ( #14851 )
2018-02-23 14:58:50 -08:00
David Shuckerow
3ee85e0137
Create and test max and min animations ( #14814 )
2018-02-22 14:54:27 -08:00
Hans Muller
3ea4d06340
Update TabBar indicator painter when tab controller changes ( #14825 )
2018-02-22 11:12:39 -08:00
amirh
01b53bd014
Fix overlap check in bottom app bar's custom clipper ( #14813 )
2018-02-22 09:20:37 -08:00
xster
1bdbfe7b52
Fix SliverPadding dropping the chain on scrollOffsetCorrection propagation ( #14789 )
...
* Fix SliverPadding dropping the chain on scrollOffsetCorrection propagation
* review doc
2018-02-21 14:51:14 -08:00
xster
62addedc11
Fix focus switching when changing tabs in CupertinoTabScaffold ( #14431 )
...
* Fix focus switching when changing tabs in CupertinoTabScaffold
* review
* Test focuses are saved within tabs
* review
2018-02-21 12:51:19 -08:00
Victor Choueiri
586d7c2f20
Fix broken link to AnimatedListState documentation ( #14786 )
2018-02-21 11:31:43 -08:00
amirh
7996d7fb82
Initial implementation of BottomAppBar ( #14713 )
...
* add a FAB NotchMaker to ScaffoldGeometry
* add a notchMaker to FloatingActionButton
* Initial implementation of BottomAppBar
Mainly includes the notch making logic.
Not yet tested as currently there is no way to make the FAB and the BAB
overlap, once #14368 to lands we could add unit tests to the
BottomAppBar as well.
* use a closeable for clearing the FAB notchmaker
2018-02-21 10:20:58 -08:00
Hans Muller
24efb55b03
Generalized TabBar selected tab indicator ( #14741 )
2018-02-21 09:13:45 -08:00
Alexandre Ardhuin
297fd9431f
fix potential call on null ( #14731 )
...
* fix potential call on null
* review
2018-02-16 22:37:07 +01:00
Matt Sullivan
2a6ed0a869
Added sample code to AnimatedOpacity API docs ( #14730 )
...
* Added sample code to AnimatedOpacity docs
2018-02-16 08:56:44 -08:00
Alexandre Ardhuin
bd1921ec84
unnecessary parenthesis ( #14533 )
2018-02-16 07:43:19 +01:00
Ian Hickson
10393a12fa
Add some more documentation. ( #14717 )
2018-02-15 14:06:25 -08:00
xster
f6fe41f10b
Small glow overscroll dartdoc addition ( #14579 )
...
* Small glow overscroll dartdoc addition
* Directly specify [MaterialApp]
* review
2018-02-15 14:00:32 -08:00
asiva
615f411da7
- Roll engine to version 0f3a8cef60bfe20afeaebe2945087cec90c65369 to pick
...
up the latest Dart roll
- Resubmit https://github.com/flutter/flutter/pull/14392 to fix
compilation errors
2018-02-15 08:15:02 -08:00