- 09 Mar, 2018 1 commit
-
-
Greg Spencer authored
Fixed the real repaint problem the Slider had (missing addListener), and added tests for it. Added GlobalKey reparenting test. Added the ability for the value indicator to slide left and right to avoid falling off the edge of the screen. It only shifts as much as it can without deforming, but even at large text scales, that is enough to keep the text on the screen. Updated the formatting on theme_data.dart and others to use longer line length. Also, removed a color tween that faded the value indicator in as it scaled, since that wasn't to spec.
-
- 02 Mar, 2018 1 commit
-
-
Greg Spencer authored
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).
-
- 01 Mar, 2018 1 commit
-
-
Greg Spencer authored
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.
-
- 25 Jan, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 13 Dec, 2017 1 commit
-
-
Michael Goderbauer authored
**This PR contains a breaking API change:** `SemanticsConfiguration.addAction()` has been removed and replaces by action-specific setters (`onTap`, `onLongPress`, etc.) to take care of the fact that some action handlers (those, who take arguments) have different signatures.
-
- 18 Oct, 2017 1 commit
-
-
Michael Goderbauer authored
* Oct 12 10:12am * implicit_semantics_test.dart passes * refactoring * works in nice * minor rename * more doc comments * to be explicit check better * fix test * ++ * ++ * semantics_9_test (BlockSemantics) and implicit_semantics_test are passing * doc updates * tiny refactor * fix static errors in tests * fix gesture detector * ++ * ++ * geometry * ++ * remove noGeometry * revert test * + * all tests but scrolling/clipping pass * clipping works * scrolling halfway * sliver tests pass * ALL TESTS PASS * SemanticsNode changed * docs and tiny fixes * card test * more doc comments * remove missed print * more tests * make test pass on Linux * remove changes to intellij proj file * review comments
-
- 12 Oct, 2017 1 commit
-
-
gspencergoog authored
Make material slider respect textScaleFactor Fixes #5938
-
- 07 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 30 Aug, 2017 1 commit
-
-
Adam Barth authored
Fixes #11358
-
- 24 Aug, 2017 1 commit
-
-
Michael Goderbauer authored
* Properly update semantics when Material/Cupertino Slider are disabled * whitespace fix * fix style
-
- 03 Aug, 2017 1 commit
-
-
Jacob Richman authored
Add Diagnosticable base class and documentation
-
- 25 Jul, 2017 1 commit
-
-
Jacob Richman authored
Refactor RenderObject.toStringDeep and Widget.toStringDeep code to use DiagnosticsNode.
-
- 20 Jul, 2017 1 commit
-
-
Mary authored
* adds inactiveColor and showThumb to Slider * add customizable color and showThumb tests * remove showThumb, add negative tests
-
- 03 Jun, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 May, 2017 1 commit
-
-
Ian Hickson authored
Minor fixes throughout, e.g. removing trailing commas from the end of sample code expressions, changing headings to "sample code" more consistently, removing stale todos, fix typos in a private method name, minor grammar fixes, added some clarifications to CircularProgressIndicator, LinearProgressIndicator, CrossAxisAlignment, added some cross-references to various members, made it slightly clearer that layout algorithms are implementation details. Clarified "elevation" throughout. Added docs to InkResponse and InkWell. Added sample code for: SliverAppBar, Card, ListTile, EdgeInsets, Row, Column, CustomScrollView, ListView, SliverFixedExtentList, and SliverGrid. Fixes #10317. Fixes #10316. Fixes #10267. (sort of, see comment therein) Fixes #9331. (sort of, see comment therein) Fixes #9407. (sort of, see comment therein)
-
- 17 May, 2017 2 commits
-
-
Ian Hickson authored
Previously it was (arbitrarily?) set to 144.0 pixels wide.
-
Ian Hickson authored
Instead just disable the slider. Fixes https://github.com/flutter/flutter/issues/10055
-
- 03 May, 2017 1 commit
-
-
Ian Hickson authored
-
- 23 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* more widget const constructors * prefer const constructors * address review comments
-
- 21 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* make @immutable const * fix build
-
- 12 Apr, 2017 1 commit
-
-
Ian Hickson authored
* Manually fix every use of Point.x and Point.y Some of these were moved to dx/dy, but not all. * Manually convert uses of the old gradient API * Remove old reference to Point. * Mechanical changes I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g' git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g' git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g' git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g' git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g' git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g' git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g' git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g' git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g' git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g' git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g' git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g' git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g' git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g' git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g' git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g' * Mechanical changes - dartdocs I applied the following at the root of the Flutter repository: git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g' git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g' * Further improvements and a test * Fix minor errors from rebasing... * Roll engine
-
- 11 Apr, 2017 1 commit
-
-
xster authored
Rename State.config to State.widget Rename State.didUpdateConfig to State.didUpdateWidget Renamed all State subclasses' local variables named config to something else
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 21 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* use color.shadeXxx instead of color[Xxx] * remove calls to .shade500 on MaterialColor * remove calls to .shade200 on MaterialAccentColor * fix test
-
- 10 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 13 Feb, 2017 1 commit
-
-
Adam Barth authored
I've been using these locally, but they're likely to be useful to other people as well.
-
- 13 Jan, 2017 1 commit
-
-
Adam Barth authored
Previously, the Slider used a drag gesture recognizer to move the head of the slider, but when the slider was in a vertical scroller, the recognizer would wait until the user moved the pointer by enough pixels to disambiguate between sliding the slider and scrolling the scroller. That worked fine for actual drags, but the slider should also move when the user taps the track. This patch introduces a tap recognizer to handle that behavior. To avoid the slider's drag and tap recognizers from competing with each other in the arena, this patch introduces the notion of a GestureArenaTeam, which lets several recognizers combine to form one entry in the arena. If that entry wins, the team picks the first of its recognizers as the winner, avoiding latency. Fixes #7454
-
- 05 Jan, 2017 2 commits
-
-
Adam Barth authored
This patch changes the default appearance of Slider to not have the thumb be an open circle at its minimum position. The `thumbOpenAtMin` property can enable drawing an open thumb at the min position, which was the previous behavior. Fixes #6941
-
Adam Barth authored
This widget matches the style of the iOS slider widget. We don't yet have the proper visual design for the disabled state.
-
- 19 Nov, 2016 1 commit
-
-
Ian Hickson authored
-
- 10 Nov, 2016 1 commit
-
-
Chris Bracken authored
These define a TextTheme and IconTheme that contrast with the accent colour brightness. Also adjust default accentColorBrightness to match Material spec examples (dark text/icons on teal in Dark theme). Update material components to use accentTextTheme, accentIconTheme: * DatePicker selection * Floating action button icon * TimePicker selection * Slider label text
-
- 01 Nov, 2016 1 commit
-
-
Chris Bracken authored
-
- 23 Oct, 2016 1 commit
-
-
Wyatt Arent authored
-
- 21 Oct, 2016 1 commit
-
-
Ian Hickson authored
Add some docs to explain how to use setState() wiht Checkbox, Radio, Slider, and Switch. Based on experience of usability study participant P1.
-
- 06 Oct, 2016 1 commit
-
-
Adam Barth authored
This change might make our grammar less perfect, but it will increase our sanity.
-
- 26 Sep, 2016 1 commit
-
-
Ian Hickson authored
This requires all AnimationController objects to be given a TickerProvider, a class that can create the Ticker. It also provides some nice mixins for people who want to have their State provide a TickerProvider. And a schedulerTickerProvider for those cases where you just want to see your battery burn. Also, we now enforce destruction order for elements.
-
- 20 Sep, 2016 1 commit
-
-
Adam Barth authored
This feature is the implementation of an accessibility feature that changes the size of text by a constant factor. Fixes #5873
-
- 02 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixes #5393.
-
- 16 Aug, 2016 1 commit
-
-
Ian Hickson authored
We have so many render objects going on these days that showing every box that gets an event just makes the screen blue. This limits it down to only the ones that are actually doing something with the events.
-