- 18 Jan, 2019 1 commit
-
-
jslavitz authored
-
- 17 Jan, 2019 1 commit
-
-
David Shuckerow authored
* Add more animation tests for rotation * Test animation progress * Progress on the tests * Everything 'works' * We don't need to guarantee the rotation of the fab as it exits. * Remove print statement * Cleanup extra lines * Remove whitespace
-
- 16 Jan, 2019 2 commits
-
-
Chris Bracken authored
Generally, we should always use default-less switches for platform-specific behaviour so we're forced to make a conscious decision on each instance of such behaviour any time we add support for a new platform.
-
Michael Goderbauer authored
-
- 15 Jan, 2019 1 commit
-
-
Hans Muller authored
-
- 09 Jan, 2019 1 commit
-
-
jslavitz authored
* the onStart callback will report the location of the pointer where it wins the gesture arena by default instead of the pointer down location. Fixes all tests related to changing this default value.
-
- 08 Jan, 2019 1 commit
-
- 07 Jan, 2019 1 commit
-
-
jslavitz authored
* Adds start behavior option to the drag gesture recognizer and makes it the default option when a drag gesture recognizer is created. Also fixes all the tests to work correctly with the new default behavior.
-
- 04 Jan, 2019 1 commit
-
-
Hans Muller authored
-
- 24 Dec, 2018 1 commit
-
-
Ian Hickson authored
Top left and top right for big FABs, and top left for mini FABs.
-
- 18 Dec, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 12 Nov, 2018 1 commit
-
-
Greg Spencer authored
Upgraded Scaffold example to an application example.
-
- 08 Nov, 2018 1 commit
-
-
Greg Spencer authored
This converts existing ## Sample code samples to {@tool sample}...{@end-tool} form. Also: 1. Fixed a minor bug in analyze-sample-code.dart 2. Made the snippet tool only insert descriptions if the description is non-empty. 3. Moved the Card diagram to before the code sample.
-
- 31 Oct, 2018 1 commit
-
-
jslavitz authored
* Adds drawer state query functions
-
- 16 Oct, 2018 1 commit
-
-
Alexandre Ardhuin authored
* Future<void> main * Future<void>.delayed * prefer_void_to_Null * address review comments
-
- 10 Oct, 2018 1 commit
-
-
Hans Muller authored
ButtonThemeData no longer requires a colorScheme. If colorScheme is null, ButtonTheme.of() will initialize it from the current Theme.
-
- 08 Oct, 2018 1 commit
-
-
Hans Muller authored
* Update uses of ButtonTheme.bar * updated gallery themes * Remove unnecessary const Fixes #22789
-
- 04 Oct, 2018 1 commit
-
-
Philip authored
* added sample code for scaffold widget [#21136] * Fixed indent and spacing for scaffold sample code * Update scaffold.dart Fix one more formatting issue
-
- 23 Sep, 2018 1 commit
-
-
Ian Hickson authored
-
- 22 Sep, 2018 1 commit
-
-
Ian Hickson authored
* Improve documentation and clean up code. * Remove "Note that". The phrase "note that" is basically meaningless as a prefix to an otherwise fine sentence.
-
- 12 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* enable lint unnecessary_new * fix tests * fix tests * fix tests
-
- 07 Sep, 2018 1 commit
-
-
Alexandre Ardhuin authored
* lint unnecessary_new on samples * fix tests
-
- 08 Aug, 2018 1 commit
-
-
Jonah Williams authored
-
- 07 Aug, 2018 1 commit
-
-
Jonah Williams authored
-
- 01 Aug, 2018 1 commit
-
-
jslavitz authored
* Drawer fix * fixed nits * fixed nits * fixed nits * final change * Drawer fix final
-
- 24 Jul, 2018 1 commit
-
-
Jonah Williams authored
Changes: - Move the SemanticsConfiguration update from RenderToggleable to each subclass, so that Switch can use toggled. - Add image, liveRegion, toggled properties to Semantics, SemanticsConfiguration, SemanticsNode - Added semanticsLabel and excludeFromSemantics to Image (the latter so that we avoid creating a semantics node) - Added onDismiss semantics action which maps to the modal escape on iOS and dismiss action on Android. - Added dismiss and liveRegion to snackbar widget - Updated custom painter semantics to handle image, liveRegion, toggle - Updated relevant tests to use correct flag/action
-
- 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 |
-
- 13 Jun, 2018 1 commit
-
-
Chris Bracken authored
fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly from source, flutter_platform.dart automatically runs a kernel compile when operating in Dart 2 mode, but this assumes a functional Dart SDK is available in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts directory with an empty temp dir. Remaining work is: 1. Get the frontend server building as a dependency on Fuchsia. 2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server. This also reverts migration to Dart 2 typedef syntax. This reverts commit 6c56bb24. (#18362) This reverts commit 3daebd05. (#18316)
-
- 12 Jun, 2018 1 commit
-
-
Hans Muller authored
-
- 11 Jun, 2018 1 commit
-
-
Greg Spencer authored
Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax. Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml. No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.
-
- 05 Jun, 2018 1 commit
-
-
Alexandre Ardhuin authored
-
- 30 May, 2018 2 commits
-
-
Greg Spencer authored
Revert "Update typedef syntax to use Function notation and turn on lint for old notation. (#18035)" (#18041) This reverts commit 32586020.
-
Greg Spencer authored
Fixes #18028 Just changes typedef declarations, no logic changes.
-
- 19 May, 2018 1 commit
-
-
Victor Choueiri authored
-
- 23 Mar, 2018 1 commit
-
-
Hans Muller authored
-
- 16 Mar, 2018 1 commit
-
-
David Shuckerow authored
* Add support to move the fab between positions. * Motion demo for the FAB works between center and end floating. * Add a Material curve to the offset animation. * Move the fab position into an object * Updates to docs * Updates to docs * Fix a lint on the bottom sheet type * Add a ScaffoldGeometry class * Improve the documentation * Improve the documentation * Add a fab motion animator * Add position and scale animations * FAB entrance and motion animations work * Get started on FAB motion * Make fab animation work properly. * Change the fab animator to be stored in the state of the scaffold. * Add a layout test * Fix spacing being off * Fix the entrance/exit animation test. * Add a textDirection to the layout delegate. * Fix const constructor lint checks * Add toStrings for the fab positioner/animator * Add a toString for CurveTween * Change the fab motion demo icon to a simple add icon. * Add tests and a custom fab positioner to the demo. * Do not start the fab's motion animation when the fab is null. * Adjust the code to pass the new tests. * Rename for in response to Hans' comment. * Revert the tabs fab demo * Use timeDilation, and clean up the animation code a little. * Clean up the prelayout geometry docs and ctr order * Cleanup fab transition widget code * Clean up comments on Scaffold, add cross-references between the two geometries * Explain the fab motion animation scheduling better * Add a const to the fab motion demo * Make the fab animation never jank by keeping track of where to move the fab to in the future. * Add a default fab positioner constant * Add space after comma in the demo * Add boilerplate dartdoc to all const constructors * Comment improvement * Rename 'fabSize' to 'floatingActionButtonSize' * Rename 'fabSize' to 'floatingActionButtonSize' * Rename 'fabSize' to 'floatingActionButtonSize' * Clean up the prelayout geometry object's dartdoc * Clean up the prelayout geometry object's dartdoc * Remove extraneous comment * Change possessive uses of Scaffold's to use dartdoc-compatible [Scaffold]'s * Rename the horizontalFabPadding to an expansion * Clean up controller cleanup and setState usage * Animate instead of lerp * Make the fab position animation use offsets instead of animations * Streamline the fab motion demo * Set up the animator to start from a reasonable place when interrupting animations. * Doc cleanup on the new animation interruption * Expand some uses of fab and clean up constants * Expand remaining public uses of fab to floating action button * Expand remaining public uses of fab to floating action button * Expand on the documentation for the fab positioner and animator * Refactor animations to broadcast the position properly. * Add the ability to turn on and off the fab to the motion demo. * Remove unused code * Change the fab animator to animate even when the fab is exitting. * Remove extra positioner. * Apps -> Applications in docs * Explain the scale animation. * Name the child parameter in the animated builder * RTL before LTR * Wrap the AppBar in the example code * const the fab motion demo name * Start a test against animation jumps * Test for jumps in the fab motion animation * Dont initialize values to null * Use constants, fix spacing from some of Hans' comments * Clarify the relationship between fab positioners and prelayout geometries * Explain the fab animmator a bit better * Explain the animation progress in the fab animation * Explain the animation restart better * Explain the animation restart better * Explain the prelayout geometry better * Explain that height is a vertical distance. * Explain the horizontal fab padding * Update the scaffold size description to explain what happens when a wild keyboard appears * Remove print statements * Update the scaffold geometry with information about it being available at paint time. * In one step of a transition * Explain how the top-start fab positioner works * Explain how the top-start fab positioner works * Refactor the scaffold layout to just pass a padding instead of a bottom, top, start and end. * Refactor the scaffold layout to just pass a padding instead of a bottom, top, start and end. * Action buttons with with custom positioners. * Add a rotation animation example. * Use a swap animation to show swapping between two different animations. * Use a swap animation to show swapping between two different animations. * Add an example for the size animations. * 2018 copyright * Extra empty line * Return new Scaffold * Extra blank line fix * All its contents have been laid out * Position the fab * Explain what the scaffold geometry is for. * Move asserts to different lines * The scaffoldsize will not * Initial rename of FabPositioners to FloatingActionButtonLocation * Rename comments in example to refer to location instead of positioner. * Rename fabpositioner to location in tests and in the scaffold field * Finish removing references to positioner in scaffold code. * Split the fab location and animation out into a separate file. * Make things more private * Import foundation instead of meta * Const curve instead of final.
-
- 11 Mar, 2018 1 commit
-
-
Ian Hickson authored
This allows other code to get the same style without having to know exactly it is computed.
-
- 07 Mar, 2018 1 commit
-
-
Josh Soref authored
* 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
-
- 21 Feb, 2018 1 commit
-
-
amirh authored
* 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
-
- 15 Feb, 2018 1 commit
-
-
Ian Hickson authored
-