65 Commits

Author SHA1 Message Date
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
Adam Barth
5846ffec57 Port address_book to fn3 2015-09-26 13:16:33 -07:00
Adam Barth
7c9f496f1b Port MineDigger to fn3 2015-09-26 12:53:14 -07:00
Adam Barth
219ee8a34b Rename Sky to Flutter in a few more places 2015-09-26 12:46:03 -07:00
James Robinson
5b8443e440 Updates for change in Mojom dart enum generation 2015-09-24 10:35:20 -07:00
Adam Barth
49c8aca09c Remove EventDisposition
All the use cases for EventDisposition are now addressed by the gesture
detection system.
2015-09-21 16:45:09 -07:00
Adam Barth
d481a3e9d1 Move theme into material.dart
Also, introduce Colors and Typography to hold the material colors and the
typography declarations. Previously we expected clients of these libraries to
import them into a namespace, but that doesn't play nice with re-exporting them
from material.dart.
2015-09-18 09:57:21 -07:00
Adam Barth
5abb242329 Move mojo frontend into services.dart
What's important about this code is that it's presenting services outside the
VM, not the particular technology used to present the services.
2015-09-16 19:13:50 -07:00
Scott Graham
6a4d9cb014 mine_digger: Fix not being able to de-flag on Android 2015-09-09 14:53:35 -07:00
Adam Barth
f9567cd9d5 Introduce painting.dart and move painting code to src/painting 2015-09-08 10:36:14 -07:00
Adam Barth
9e932b45bb Fold package:sky/editing/* into package:sky/widgets.dart
The editing directory just defined two widgets. We might as well fold them into
the main widgets library.
2015-09-07 10:07:41 -07:00