75 Commits

Author SHA1 Message Date
P.Y. Laligand
baf69ca25c [fuchsia] Removed the flutter_app template. (flutter/engine#4511)
It is moving to the Fuchsia codebase.
2018-01-04 09:20:41 -08:00
P.Y. Laligand
3a943b12c3 Update the location of Flutter packages. (flutter/engine#4257) 2017-10-20 14:25:49 -07:00
P.Y. Laligand
235f07742a Allow the project to be mapped to a location other than //flutter. (flutter/engine#4203)
This is for Fuchsia where we would like it to be located at //third_party/flutter.
2017-10-13 17:00:58 -07:00
P.Y. Laligand
281c792527 Add empty pubspec.yaml files. (flutter/engine#4212)
They help the analysis service identify packages and are now mandatory on Fuchsia.
2017-10-12 14:46:51 -07:00
P.Y. Laligand
ad4b6338af Properly pass the disable_analysis parameter. (flutter/engine#4177)
Added it to a few targets.
2017-10-06 10:48:25 -07:00
Ryan Macnak
d07c9b42f2 [fuchsia] Make it easy to flip the whole system between flutter_jit_app and flutter_aot_app. (flutter/engine#3873) 2017-07-19 14:21:02 -07:00
P.Y. Laligand
c4013f0a5e Fixed some analysis issues. (flutter/engine#3656) 2017-05-05 18:37:40 -07:00
P.Y. Laligand
456c1066eb Add missing dependency. (flutter/engine#3643) 2017-05-02 15:30:48 -07:00
Ryan Macnak
c549fc12ce Fuchsia AOT: (flutter/engine#3626)
- Fix flutter_aot_app template for moved Flutter tool GN label.
 - Add missing dart:io tree-shaking roots.
 - Add example AOT app to catch future breakage.
2017-04-25 13:28:52 -07:00
Ian Hickson
74b56314ea Remove the Point class. (flutter/engine#3567)
* Remove the Point class.

* Add Size.contains and Rect.translate for consistency

* Make Offset and Size compare == with subclasses.

Without this we would break the _DebugSize hack.

* Fix copy/pasta

* Fix the examples in the engine repo
2017-04-12 13:45:46 -07:00
Adam Barth
ab147d1977 Update for API change (flutter/engine#3176) 2016-10-27 10:19:30 -07:00
Adam Barth
96eeb27744 Update examples for window.physicalSize (flutter/engine#3086)
Now the engine always gives values in physical pixels.
2016-10-01 10:01:41 -07:00
Adam Barth
051dcb0c26 Add hello_flutter and make it work on Fuchsia (flutter/engine#3016) 2016-09-11 15:53:48 -07:00
James Robinson
99348cbf65 [build] Add new flutter_app GN template for Fuchsia style package management (flutter/engine#2999) 2016-09-01 23:01:58 -07:00
Adam Barth
732fe01353 Add spinning_square example (flutter/engine#2928)
Also, teach gn how to build application bundles.
2016-08-15 23:07:19 -07:00
Kris Giesing
51659c333f Remove examples directory 2015-11-09 12:56:44 -08:00
Adam Barth
7b5f4da648 Merge pull request #2009 from abarth/rm_packages
Remove Dart packages which have moved to flutter.dart
2015-11-07 00:47:54 -08:00
Adam Barth
f1560a03f3 Remove Dart packages which have moved to flutter.dart 2015-11-07 00:34:12 -08:00
Kris Giesing
323a0c15f0 Remove unneeded flutter.yaml property 2015-11-05 15:25:17 -08:00
Kris Giesing
749dfc97fd Add flutter.yaml for address_book example 2015-11-05 15:20:05 -08:00
Adam Barth
a36f37e805 Rev pubspecs 2015-11-02 13:19:55 -08:00
Adam Barth
5fd84db1d8 Rename Icon's type paramter to icon
The name of the parameter wasn't consistent with IconButton or DrawerItem, etc.

Fixes #1871
2015-11-01 11:25:17 -08:00
Hixie
03b9483b5f Rev package versions for release.
sky_engine is now at 0.0.45
sky_services is now at 0.0.45
flx is now at 0.0.4
flutter is now at 0.0.15
flutter_sprites is now at 0.0.12
2015-10-29 14:41:56 -07:00
Hixie
90ce09ab49 Rev package versions for release.
sky_engine is now at 0.0.44
sky_services is now at 0.0.44
flx is now at 0.0.3
flutter is now at 0.0.14
flutter_sprites is now at 0.0.11
2015-10-28 14:54:33 -07:00
Adam Barth
d749a73805 Icon should use an enum rather than an int for size
Material design icons are defined to work at specific sizes: 18, 24, 36, 48.
The current API doesn't reflect that and just takes a size int. If an invalid
size is chosen an error is printed to the console and no icon shows up.

Fixes #1816
2015-10-28 08:55:49 -07:00
Hixie
9dfc62bf5f Strong modeify the examples
This makes skyanalyzer also check the examples, and fixes everything it
found there.
2015-10-23 18:13:25 -07:00
Adam Barth
cb9c87564c Add Navigator.of
Now you don't need to pass the navigator around everywhere.
2015-10-22 12:32:42 -07:00
Adam Barth
55611edf38 Scaffold should wrap its body in a Material
Fixes #1669
2015-10-19 12:11:10 -07:00
krisgiesing
2bfdd4b881 Merge pull request #1605 from krisgiesing/events-merge
Add dart-layer input event abstraction
2015-10-14 13:36:07 -07:00
Kris Giesing
5655412f7a Add dart-layer input event abstraction 2015-10-13 15:16:04 -07:00
Jim Beveridge
7c85270180 Show new flutter tool and its use in the widgets dir. 2015-10-13 13:53:05 -07:00
Adam Barth
d21b1682d5 Remove demo_launcher
This example is outdated.
2015-10-12 14:20:28 -07:00
Adam Barth
2e22817fdb Reattach fitness to the build
We can build Fitness again now that playfair has been updated to account for
the package:flutter rename.
2015-10-12 00:24:24 -07:00
Adam Barth
ec61fd8b0b Import dart:ui as ui (instead of as sky) 2015-10-09 20:55:54 -07:00
Adam Barth
3155cb7135 Rename package:sky to package:flutter 2015-10-09 20:44:52 -07:00
Adam Barth
8294952fd0 Rename dart:sky to dart:ui 2015-10-09 19:27:13 -07:00
Adam Barth
2f05e0d5c9 Rename App to MaterialApp
MaterialApp assumes that you're using material design.

Also move radial reaction and fix imports for stats box.
2015-10-09 10:27:22 -07:00
Adam Barth
c877708568 Split material design widgets out of widgets.dart
These are now part of material.dart.
2015-10-09 10:07:06 -07:00
Adam Barth
87631faae2 Simplify Scaffold
Rather than using a custom render object, we can just use a Stack.
2015-10-06 10:06:17 -07:00
Hixie
df719bde8d Fix Focus
Focus.at() and company should be on Focus, not FocusState.

_notifyDescendants() was using the wrong runtimeType.

Let InheritedWidget update the descendants during build.

When you setState() during build, assert that you're not
markNeedsBuild()ing someone who isn't a descendant.

Typo in Widget.toString().
2015-10-05 16:41:50 -07:00
Hixie
27b76c00ad Simplify the usage of Navigator's routes argument
(These are changes cherry-picked from in-flight branches since they are
more independent and could be helpful even without those changes.)

- Change RouteBuilder's signature to take a single argument in which the
  other fields are placed, so that we can keep iterating on those
  arguments without having to break compatibility each time. Also, this
  makes defining route builders much simpler (only one argument to
  ignore rather than a variable number).

- Expose the next performance to RouteBuilders, since sometimes the
  route itself might not be where it's used.

- Allow BuildContext to be used to walk children, just like it can for
  ancestors

- Allow BuildContext to be used to get the Widget of the current
  BuildContext

- Allow StatefulComponentElement to be referenced with a type
  specialisation so that you don't have to cast when you know what the
  type you're dealing with actually is.
2015-10-05 13:59:30 -07:00
Adam Barth
000bf4106f Merge pull request #1479 from mdakin/simplfy_digger
Simplfy resetting board and mine generation.
2015-10-04 15:21:53 -07:00
Mehmet Akin
bc6bbee6e3 Fix indent. 2015-10-03 22:56:30 +02:00
Mehmet Akin
3eafa823a7 Simplfy resetting board and mine generation. 2015-10-03 22:22:30 +02:00
Adam Barth
d1a10b10ba Use }) : super consistently
Fixes #1372
2015-10-02 23:12:03 -07:00
Adam Barth
1f396b3c69 Make fn3 the default widget framework 2015-10-01 09:48:35 -07:00
mdakin
61e7fd41af Fix bounds checking error I introduced in previour cl, Address style issues. 2015-09-30 23:15:55 +02:00
Adam Barth
b222bfd52e Remove BuildContext argument to initState
This argument isn't needed anymore now that State has a getter for context.
2015-09-30 13:15:46 -07:00
mdakin
431d88d653 Fix alignment of mine counts, simplfy code a bit. 2015-09-30 15:11:42 +02:00
Adam Barth
7617feed0c Port hello_world to fn3 2015-09-26 13:18:20 -07:00