- 21 Jun, 2018 1 commit
-
-
amirh authored
Move the notch computation from the FAB to the BAB. The notch in the BAB (bottom action bar) for the FAB (floating action button) was previously kept as part of the FAB's implementation. This was done to keep the shape of the FAB and the shape of the notch coupled. That approach resulted in a somewhat complex and 'non Fluttery' mechanism for propagating the notch computation from the FAB to the BAB. This CL uncouples the FAB and the notch computation. With the new API the BAB computes its overall shape including the notch using a NotchedShape delegate. This includes multiple breaking changes: * Scaffold.setFloatingActionButtonNotchFor is deleted. * The ComputeNotch type is deleted. * The hasNotch property of BottomAppBar is deleted. * The notchMargin property of FloatingActionButton is deleted. Quick migration guide from the previous API: | Previous API | New API | | ------------------|-------------| | BottomAppBar(hasNotch: false) | BottomAppBar() | | Using a FloatingActionButton with: BottomAppBar() / BottomAppBar(hasNotch: true) | BottomAppBar(shape: CircularNotchedRectangle()) | | Scaffold.setFloatingActionButtonNotchFor(..) | No longer supported |
-
- 10 May, 2018 1 commit
-
-
Ian Hickson authored
-
- 05 Apr, 2018 1 commit
-
-
Hans Muller authored
-
- 19 Jan, 2018 1 commit
-
-
Ian Hickson authored
* Fix the confusing-zero case with NestedScrollView. * Update mock_canvas.dart * Update tabs_demo.dart * more tweaks
-
- 07 Dec, 2017 1 commit
-
-
Ian Hickson authored
This allows the scheduler library to depend on the services library and the painting library to depend on the scheduler library without the services library having to depend on the scheduler library. While I was at it I also cleaned up some of the binding logic: the licenses logic can now be overridden (and the test library does so), and the image cache can now be overridden as well.
-
- 02 Nov, 2017 1 commit
-
-
Greg Spencer authored
In order to allow chips to be properly drawn when they expand in size (without using IntrinsicHeight), I needed a BoxDecoration shape that would be dependent upon the rendered height of the widget. This seemed to be pretty generally useful, so I added a new ShapeDecoration called StadiumBorder. It uses the minimum dimension to adjust the BorderRadius of a rounded rect in the shape decoration. I also converted some uses of BoxShape to be case statements, updated the chips to use the StadiumBorder decoration, and updated some of the metrics to match the Material spec, as well as implementing lerping to and from StadiumBorder.
-
- 20 Oct, 2017 1 commit
-
-
Ian Hickson authored
-
- 18 Oct, 2017 1 commit
-
-
Ian Hickson authored
-
- 17 Oct, 2017 1 commit
-
-
Ian Hickson authored
-
- 03 Oct, 2017 1 commit
-
-
Ian Hickson authored
I'm about to add the BoxBorder and BorderDirectional classes to this new file, but figured it would make review easier if the move of the existing class happened first.
-
- 02 Oct, 2017 1 commit
-
-
Adam Barth authored
Unlike FractionalOffset, Alignment uses the center as the zero of the coordinate system, which makes the RTL math work out much cleaner. Also, make FractionalOffset into a subclass of Alignment so that clients can continue to use FractionalOffset.
-
- 23 Sep, 2017 1 commit
-
-
Ian Hickson authored
After all my recent refactorings, some of the names were not really reasonable any more.
-
- 22 Sep, 2017 1 commit
-
-
Ian Hickson authored
This is the last class other than BoxDecoration in this file, so by extracting it we finally have all the parts of BoxDecoration extracted.
-
- 21 Sep, 2017 1 commit
-
-
Ian Hickson authored
To make it cleaner when we RTLify these.
-
- 20 Sep, 2017 1 commit
-
-
Ian Hickson authored
-
- 12 Sep, 2017 1 commit
-
-
Ian Hickson authored
This will make it more tractable to convert them for RTL.
-
- 21 Aug, 2017 1 commit
-
-
Jacob Richman authored
Bare bones widget inspector support. Toggle the widget inspector from the flutter tool by pressing 'i'. When the widget inspector is select mode: Pointer down to to inspect a widget. Pointer click to finalize selection of a widget. You can now interact with the application as you normally would but with the inspected widget highlighted. Click the inspect icon in bottom left corner of screen to reactivate select mode.
-
- 21 Mar, 2017 1 commit
-
-
Adam Barth authored
This patch prepares us to remove InputValue in favor of TextEditingValue.
-
- 17 Mar, 2017 1 commit
-
-
Adam Barth authored
This machinery is useful for arbitrary boxes (e.g., with FittedBox). Fixes #6463
-
- 23 Feb, 2017 1 commit
-
-
Alexandre Ardhuin authored
-
- 01 Nov, 2016 1 commit
-
-
Chris Bracken authored
-
- 15 Aug, 2016 1 commit
-
-
Ian Hickson authored
Instead of a PNG, the Flutter gallery widget is now drawn in code. There's now a FlutterLogoDecoration class that paints the flutter logo anywhere you can use a Decoration (e.g. AnimatedContainer). There's now a FlutterLogo class that honors the IconTheme. The About dialog box API now takes a Widget for the applicationIcon, instead of an ImageProvider. It uses IconTheme to make the icon the right size instead of using an Image widget. Add padding, duration, and curve properties to the DrawerHeader. Make the child of a DrawerHeader optional. Clean up UserAccuntsDrawerHeader a bit. Add some useful properties and methods to EdgeInsets. Add some debug logic to RenderDecoratedBox to catch unpaired save/restore calls when possible. Make GestureDetector fill its parent if it has no children. Fixes https://github.com/flutter/flutter/issues/5380
-
- 29 Jul, 2016 1 commit
-
-
Ian Hickson authored
Also, add FractionalOffset.inscribe.
-
- 29 Apr, 2016 1 commit
-
-
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
-
-
Seth Ladd authored
* add import guidance to library-level docs * add import docs to other packages * fix review comment * clarify which libraries aren't meant to be directly imported
-
- 18 Mar, 2016 2 commits
-
-
Ian Hickson authored
-
Hixie authored
-
- 12 Mar, 2016 1 commit
-
-
Adam Barth authored
Fixes #1382
-
- 11 Feb, 2016 1 commit
-
-
Ian Hickson authored
Each layer is supposed to reexport the parts of the previous layer that are part of its API. - In painting.dart, export from dart:ui all the Canvas-related APIs that make sense to be used at higher levels, e.g. PaintingStyle. - Delete painting/shadows.dart. It was dead code. - In rendering/object.dart, export all of painting.dart. - In widgets/basic.dart, export all of painting.dart and animation.dart. Some classes in animation/ are renamed to make this less disruptive and confusing to the namespace. - Split out Stocks back into an import model rather than a part model, so that it's easier to manage its dependencies on a per-file basis. - Move Ticker to scheduler library. - Remove as many redundant imports as possible now. - Some minor nit picking cleanup in various files.
-
- 30 Jan, 2016 1 commit
-
-
Adam Barth authored
This patch teaches the editing system to paint reasonable selections for single-line text fields, including for bidirectional text. Requires https://github.com/flutter/engine/pull/2318
-
- 08 Dec, 2015 1 commit
-
-
Ian Hickson authored
Factor out a reusable interface called Decoration from BoxDecoration. Make all the consumers of BoxDecoration and the erstwhile BoxPainter into consumers of Decoration. Make a BoxPainter be something you get from a Decoration, rather than something to which you pass a BoxDecoration. Rename Shape to BoxShape now that it's documented specifically as applying to boxes. Move EdgeDims to its own file. Move FractionalOffset up so that it's with the other helper classes in its file rather than alone at the end. Minor change to RenderClipOval's hit testing to avoid taking an unnecessary square root. Rename BoxDecorationPosition to DecorationPosition since RenderDecoratedBox now takes any Decoration. Implement hit testing for rounded rects. Rename AnimatedBoxDecorationValue to AnimatedDecorationValue, and make it support lerping across any Decoration (by deferring to the objects involved).
-
- 22 Nov, 2015 1 commit
-
-
Ian Hickson authored
-
- 19 Nov, 2015 1 commit
-
-
Adam Barth authored
The repaint raindbow tints each recording with a rotating set of colors so you can see which pixels are repainting each frame.
-
- 16 Oct, 2015 1 commit
-
-
Adam Barth authored
The goal is to follow the guidelines in https://github.com/flutter/engine/blob/master/sky/specs/style-guide.md#packages Fixes #1638
-
- 09 Oct, 2015 1 commit
-
-
Adam Barth authored
MaterialApp assumes that you're using material design. Also move radial reaction and fix imports for stats box.
-
- 27 Sep, 2015 1 commit
-
-
Devon Carew authored
-
- 26 Sep, 2015 1 commit
-
-
Adam Barth authored
-
- 18 Sep, 2015 1 commit
-
-
Adam Barth authored
I've also removed the top-level description of the Sky package. Instead, we should host that content on flutter.io.
-
- 12 Sep, 2015 1 commit
-
-
Ian Hickson authored
-
- 08 Sep, 2015 1 commit
-
-
Adam Barth authored
-