- 23 Apr, 2017 1 commit
-
-
Alexandre Ardhuin authored
* more widget const constructors * prefer const constructors * address review comments
-
- 19 Apr, 2017 1 commit
-
-
Adam Barth authored
Turns out we have many immutable classes. Fixes #6892
-
- 17 Apr, 2017 1 commit
-
-
Hans Muller authored
-
- 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
-
- 07 Apr, 2017 1 commit
-
-
Ian Hickson authored
Aggressively apply the const lint.
-
- 31 Mar, 2017 1 commit
-
-
Alexandre Ardhuin authored
* add @required when there's an assert not null * address review comments
-
- 04 Mar, 2017 1 commit
-
-
Chris Bracken authored
Covers lib/ in package:flutter.
-
- 24 Feb, 2017 1 commit
-
-
Adam Barth authored
It's common to just want a simple colored box. Simple thing should be simple, so this patch adds a convenience argument to Continer for creating a box decoration that is just a color. Fixes #5555
-
- 23 Feb, 2017 3 commits
-
-
Alexandre Ardhuin authored
-
Chris Bracken authored
Trigger a vibration on hour/minute changes, with an upper bound on number of feedback events per second. Note: state changes are expected to trigger haptic feedback on Android, but not on iOS time pickers.
-
Chris Bracken authored
State changes are expected to trigger haptic feedback on Android, but not on iOS time pickers.
-
- 10 Jan, 2017 1 commit
-
-
Adam Barth authored
Change `Flexible`'s default `FlexFit` Previously, `Flexible` defaulted to `FlexFit.tight`, which forced the child to expand to fill the available space. Now, `Flexible` defaults to `FlexFit.loose`, which does not force the child to expand to fill the available space. If you want the child to expand to fill the available space, consider using `Expanded` instead. Fixes #5169
-
- 22 Nov, 2016 1 commit
-
-
Adam Barth authored
This patch replaces uses of Flexible with Expanded where we're using FlexFit.tight. We still need to think of a better name for the FlexFit.loose variant. Also, improve the docs for Row, Column, Flex, and RenderFlex to be more problem-oriented and to give a complete account of the layout algorithn. Fixes #6960 Fixes #5169
-
- 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
-
- 02 Nov, 2016 1 commit
-
-
Hans Muller authored
-
- 01 Nov, 2016 1 commit
-
-
Chris Bracken authored
-
- 23 Oct, 2016 2 commits
-
-
Wyatt Arent authored
Cancel button behavior for showdatepicker/showtimepicker Fixes #6483
-
Wyatt Arent authored
-
- 14 Oct, 2016 1 commit
-
-
Adam Barth authored
Previously we assumed the dial was square, which isn't always the case. Fixes #6315
-
- 03 Oct, 2016 1 commit
-
-
Adam Barth authored
Fixes #988
-
- 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
-
- 15 Sep, 2016 1 commit
-
-
Adam Barth authored
Having this base class lets classes like CustomPainter and DataTableSource be more agnostic as to what's generating the repaints.
-
- 02 Sep, 2016 1 commit
-
-
Dragoș Tiselice authored
Fixes #5393.
-
- 27 Jul, 2016 1 commit
-
-
Ian Hickson authored
Fundamentally the core problem was that we were not saying how wide a date picker should be. It should be 330 pixels, if I'm measuring the spec's mocks correctly.
-
- 26 Jul, 2016 1 commit
-
-
Hans Muller authored
-
- 21 Jun, 2016 1 commit
-
-
Hans Muller authored
-
- 12 Jun, 2016 1 commit
-
-
Adam Barth authored
We now use the `@required` annotation to encourage developers to explicitly set onPressed and onChanged callbacks to null when that would disable the widget. Fixes #287
-
- 07 Jun, 2016 1 commit
-
-
Todd Volkert authored
Fixes 3544
-
- 03 Jun, 2016 1 commit
-
-
Adam Barth authored
Previously we supplied individual parameters to the various drag and pan callbacks. However, that approach isn't extensible because each new parameter is a breaking change to the API. This patch makes a one-time breaking change to the API to provide a "details" object that we can extend over time as we need to expose more information. The first planned extension is adding enough information to accurately produce an overscroll glow on Android.
-
- 23 May, 2016 1 commit
-
-
Adam Barth authored
We now match the spec much better, including handling dark theme. The main thing we're still missing is the landscape layout. Fixes #989
-
- 07 May, 2016 1 commit
-
-
Adam Barth authored
TextAlign applies to a whole paragraph instead of applying to an individual text span. This patch moves the property out of TextStyle and into a separate property on Text and RichText.
-
- 04 May, 2016 2 commits
-
-
pq authored
The `flutter` package gets more types! Follow-up from: https://github.com/flutter/flutter/pull/3727.
-
Adam Barth authored
Making progress towards document all public APIs in material.dart. We're still missing a few odds and ends (as well as missing docs in tabs.dart, tooltip.dart, and two_level_list.dart).
-
- 29 Apr, 2016 2 commits
-
-
Adam Barth authored
These wrappers also give us a chance to document what these services do. Fixes #3164
-
Adam Barth authored
Instead of using properties, TextPainter now receives min and max width as parameters to layout. Also, this patch integrates the intrinsic sizing logic into the main layout function, which satisfies all the existing uses cases.
-
- 27 Apr, 2016 1 commit
-
-
Hans Muller authored
* Fixed TimePicker crash and added tests * Fixed TimePicker crash and added tests * fixed a Lint-O
-
- 08 Apr, 2016 1 commit
-
-
Adam Barth authored
The dartdoc will continue until morale improves.
-