Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
a74d02da
Commit
a74d02da
authored
Sep 26, 2015
by
Adam Barth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Sky to Flutter in a few more places
parent
0a0a92eb
Changes
29
Show whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
60 additions
and
60 deletions
+60
-60
README.md
examples/README.md
+5
-5
align_items.dart
examples/rendering/align_items.dart
+1
-1
baseline.dart
examples/rendering/baseline.dart
+1
-1
borders.dart
examples/rendering/borders.dart
+1
-1
flex.dart
examples/rendering/flex.dart
+1
-1
interactive_flex.dart
examples/rendering/interactive_flex.dart
+1
-1
justify_content.dart
examples/rendering/justify_content.dart
+1
-1
render_grid.dart
examples/rendering/render_grid.dart
+1
-1
render_paragraph.dart
examples/rendering/render_paragraph.dart
+1
-1
sector_layout.dart
examples/rendering/sector_layout.dart
+1
-1
shadowed_box.dart
examples/rendering/shadowed_box.dart
+1
-1
simple_autolayout.dart
examples/rendering/simple_autolayout.dart
+1
-1
spinning_flex.dart
examples/rendering/spinning_flex.dart
+1
-1
touch_demo.dart
examples/rendering/touch_demo.dart
+1
-1
transform.dart
examples/rendering/transform.dart
+1
-1
spinning_mixed.dart
examples/widgets/spinning_mixed.dart
+3
-3
README.md
packages/flutter/README.md
+1
-1
painting.dart
packages/flutter/lib/painting.dart
+1
-1
rendering.dart
packages/flutter/lib/rendering.dart
+1
-1
binding.dart
packages/flutter/lib/src/fn3/binding.dart
+5
-5
gesture_detector.dart
packages/flutter/lib/src/fn3/gesture_detector.dart
+2
-2
binding.dart
packages/flutter/lib/src/rendering/binding.dart
+6
-6
object.dart
packages/flutter/lib/src/rendering/object.dart
+2
-2
toggleable.dart
packages/flutter/lib/src/rendering/toggleable.dart
+2
-2
drag_target.dart
packages/flutter/lib/src/widgets/drag_target.dart
+1
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+11
-11
gesture_detector.dart
packages/flutter/lib/src/widgets/gesture_detector.dart
+2
-2
widget_tester.dart
packages/unit/test/fn3/widget_tester.dart
+1
-1
widget_tester.dart
packages/unit/test/widget/widget_tester.dart
+3
-3
No files found.
examples/README.md
View file @
a74d02da
Sky
Examples
============
Flutter
Examples
============
====
This directory contains several examples of using
Sky
. Each of these is an
This directory contains several examples of using
Flutter
. Each of these is an
individual Dart application package. If you wish to run them with
`sky_tool`
then you will want to run
`pub get`
inside their directory before running
`./packages/sky/sky_tool start`
.
...
...
@@ -10,7 +10,7 @@ then you will want to run `pub get` inside their directory before running
the text "hello, world."
2.
*Stocks.*
The
[
stocks app
](
stocks
)
is an example of a typical mobile app
built using
Sky
. The app shows a list of all the stocks in the NASDAQ.
built using
Flutter
. The app shows a list of all the stocks in the NASDAQ.
3.
*Widgets.*
The
[
widgets app
](
widgets
)
contains a number of
Sky
widgets so
3.
*Widgets.*
The
[
widgets app
](
widgets
)
contains a number of
Flutter
widgets so
you can experiment with them in a simple container.
examples/rendering/align_items.dart
View file @
a74d02da
...
...
@@ -42,5 +42,5 @@ void main() {
child:
new
RenderPadding
(
child:
table
,
padding:
new
EdgeDims
.
symmetric
(
vertical:
50.0
))
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/baseline.dart
View file @
a74d02da
...
...
@@ -72,5 +72,5 @@ void main() {
direction:
FlexDirection
.
vertical
,
alignItems:
FlexAlignItems
.
stretch
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/borders.dart
View file @
a74d02da
...
...
@@ -73,5 +73,5 @@ void main() {
],
direction:
FlexDirection
.
vertical
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/flex.dart
View file @
a74d02da
...
...
@@ -51,5 +51,5 @@ RenderBox buildFlexExample() {
}
void
main
(
)
{
new
Sky
Binding
(
root:
buildFlexExample
());
new
Flutter
Binding
(
root:
buildFlexExample
());
}
examples/rendering/interactive_flex.dart
View file @
a74d02da
...
...
@@ -98,6 +98,6 @@ Pancetta meatball tongue tenderloin rump tail jowl boudin.""";
);
updateTaskDescription
(
'Interactive Flex'
,
topColor
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
sky
.
view
.
setEventCallback
(
handleEvent
);
}
examples/rendering/justify_content.dart
View file @
a74d02da
...
...
@@ -36,5 +36,5 @@ void main() {
child:
new
RenderPadding
(
child:
table
,
padding:
new
EdgeDims
.
symmetric
(
vertical:
50.0
))
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/render_grid.dart
View file @
a74d02da
...
...
@@ -23,4 +23,4 @@ RenderBox buildGridExample() {
return
new
RenderGrid
(
children:
children
,
maxChildExtent:
100.0
);
}
main
()
=>
new
Sky
Binding
(
root:
buildGridExample
());
main
()
=>
new
Flutter
Binding
(
root:
buildGridExample
());
examples/rendering/render_paragraph.dart
View file @
a74d02da
...
...
@@ -35,5 +35,5 @@ Pancetta meatball tongue tenderloin rump tail jowl boudin.""";
flexRoot
.
add
(
child
);
child
.
parentData
.
flex
=
1
;
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/sector_layout.dart
View file @
a74d02da
...
...
@@ -549,5 +549,5 @@ RenderBox buildSectorExample() {
}
void
main
(
)
{
new
Sky
Binding
(
root:
buildSectorExample
());
new
Flutter
Binding
(
root:
buildSectorExample
());
}
examples/rendering/shadowed_box.dart
View file @
a74d02da
...
...
@@ -18,7 +18,7 @@ void main() {
var
paddedBox
=
new
RenderPadding
(
padding:
const
EdgeDims
.
all
(
50.0
),
child:
coloredBox
);
new
Sky
Binding
(
root:
new
RenderDecoratedBox
(
new
Flutter
Binding
(
root:
new
RenderDecoratedBox
(
decoration:
const
BoxDecoration
(
backgroundColor:
const
Color
(
0xFFFFFFFF
)
),
...
...
examples/rendering/simple_autolayout.dart
View file @
a74d02da
...
...
@@ -59,5 +59,5 @@ void main() {
(
p4
.
verticalCenter
==
p2
.
height
/
al
.
cm
(
2.0
))
as
al
.
Constraint
,
]);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
}
examples/rendering/spinning_flex.dart
View file @
a74d02da
...
...
@@ -29,7 +29,7 @@ void main() {
RenderPadding
root
=
new
RenderPadding
(
padding:
new
EdgeDims
.
all
(
20.0
),
child:
transformBox
);
new
Sky
Binding
(
root:
root
);
new
Flutter
Binding
(
root:
root
);
scheduler
.
addPersistentFrameCallback
(
rotate
);
}
...
...
examples/rendering/touch_demo.dart
View file @
a74d02da
...
...
@@ -84,5 +84,5 @@ void main() {
// that it doesn't eat events.
paragraph
.
parentData
..
top
=
40.0
..
left
=
20.0
;
new
Sky
Binding
(
root:
stack
);
new
Flutter
Binding
(
root:
stack
);
}
examples/rendering/transform.dart
View file @
a74d02da
...
...
@@ -24,5 +24,5 @@ void main() {
RenderFlex
flex
=
new
RenderFlex
();
flex
.
add
(
spin
);
new
Sky
Binding
(
root:
flex
);
new
Flutter
Binding
(
root:
flex
);
}
examples/widgets/spinning_mixed.dart
View file @
a74d02da
...
...
@@ -70,12 +70,12 @@ void rotate(double timeStamp) {
void
main
(
)
{
// Because we're going to use Widgets, we want to initialise its
//
Sky
Binding, not use the default one. We don't really need to do
//
Flutter
Binding, not use the default one. We don't really need to do
// this, because RenderBoxToWidgetAdapter does it for us, but
// it's good practice in case we happen to not have a
// RenderBoxToWidgetAdapter in our tree at startup, or in case we
// want a renderViewOverride.
Widget
SkyBinding
.
initWidgetSky
Binding
();
Widget
FlutterBinding
.
initWidgetFlutter
Binding
();
RenderProxyBox
proxy
=
new
RenderProxyBox
();
new
RenderBoxToWidgetAdapter
(
proxy
,
builder
);
// adds itself to proxy
...
...
@@ -88,6 +88,6 @@ void main() {
transformBox
=
new
RenderTransform
(
child:
flexRoot
,
transform:
new
Matrix4
.
identity
());
RenderPadding
root
=
new
RenderPadding
(
padding:
new
EdgeDims
.
all
(
80.0
),
child:
transformBox
);
Sky
Binding
.
instance
.
renderView
.
child
=
root
;
Flutter
Binding
.
instance
.
renderView
.
child
=
root
;
scheduler
.
addPersistentFrameCallback
(
rotate
);
}
packages/flutter/README.md
View file @
a74d02da
...
...
@@ -6,4 +6,4 @@ Flutter is optimized for today's, and tomorrow's, mobile devices. We are
focused on low-latency input and high frame rates on Android and iOS.
See the
[
getting started guide
](
https://flutter.github.io/getting-started/
)
for
information about using
Sky
.
information about using
Flutter
.
packages/flutter/lib/painting.dart
View file @
a74d02da
...
...
@@ -4,7 +4,7 @@
/// The Flutter painting library
///
/// This library includes a variety of classes that wrap the
Sky
/// This library includes a variety of classes that wrap the
Flutter
/// engine's painting API for more specialised purposes, such as painting scaled
/// images, interpolating between shadows, painting borders around boxes, etc.
///
...
...
packages/flutter/lib/rendering.dart
View file @
a74d02da
...
...
@@ -20,7 +20,7 @@ export 'package:sky/src/rendering/object.dart';
export
'package:sky/src/rendering/paragraph.dart'
;
export
'package:sky/src/rendering/proxy_box.dart'
;
export
'package:sky/src/rendering/shifted_box.dart'
;
export
'package:sky/src/rendering/
sky_
binding.dart'
;
export
'package:sky/src/rendering/binding.dart'
;
export
'package:sky/src/rendering/stack.dart'
;
export
'package:sky/src/rendering/toggleable.dart'
;
export
'package:sky/src/rendering/view.dart'
;
...
...
packages/flutter/lib/src/fn3/binding.dart
View file @
a74d02da
...
...
@@ -6,7 +6,7 @@ import 'package:sky/animation.dart';
import
'package:sky/rendering.dart'
;
import
'package:sky/src/fn3/framework.dart'
;
class
WidgetFlutterBinding
extends
Sky
Binding
{
class
WidgetFlutterBinding
extends
Flutter
Binding
{
WidgetFlutterBinding
()
{
BuildableElement
.
scheduleBuildFor
=
scheduleBuildFor
;
...
...
@@ -14,14 +14,14 @@ class WidgetFlutterBinding extends SkyBinding {
_renderViewElement
.
mount
(
null
,
null
);
}
/// Ensures that there is a
Sky
Binding object instantiated.
/// Ensures that there is a
Flutter
Binding object instantiated.
static
void
initBinding
()
{
if
(
Sky
Binding
.
instance
==
null
)
if
(
Flutter
Binding
.
instance
==
null
)
new
WidgetFlutterBinding
();
assert
(
Sky
Binding
.
instance
is
WidgetFlutterBinding
);
assert
(
Flutter
Binding
.
instance
is
WidgetFlutterBinding
);
}
static
WidgetFlutterBinding
get
instance
=>
Sky
Binding
.
instance
;
static
WidgetFlutterBinding
get
instance
=>
Flutter
Binding
.
instance
;
/// The [Element] that is at the root of the hierarchy (and which wraps the
/// [RenderView] object at the root of the rendering hierarchy).
...
...
packages/flutter/lib/src/fn3/gesture_detector.dart
View file @
a74d02da
...
...
@@ -7,7 +7,7 @@ import 'dart:sky' as sky;
import
'package:sky/gestures.dart'
;
import
'package:sky/src/fn3/basic.dart'
;
import
'package:sky/src/fn3/framework.dart'
;
import
'package:sky/src/rendering/
sky_
binding.dart'
;
import
'package:sky/src/rendering/binding.dart'
;
class
GestureDetector
extends
StatefulComponent
{
const
GestureDetector
({
...
...
@@ -60,7 +60,7 @@ class GestureDetectorState extends State<GestureDetector> {
didUpdateConfig
(
null
);
}
final
PointerRouter
_router
=
Sky
Binding
.
instance
.
pointerRouter
;
final
PointerRouter
_router
=
Flutter
Binding
.
instance
.
pointerRouter
;
TapGestureRecognizer
_tap
;
TapGestureRecognizer
_ensureTap
()
{
...
...
packages/flutter/lib/src/rendering/
sky_
binding.dart
→
packages/flutter/lib/src/rendering/binding.dart
View file @
a74d02da
...
...
@@ -32,7 +32,7 @@ class _PointerState {
typedef
void
EventListener
(
sky
.
Event
event
);
/// A hit test entry used by [
Sky
Binding]
/// A hit test entry used by [
Flutter
Binding]
class
BindingHitTestEntry
extends
HitTestEntry
{
const
BindingHitTestEntry
(
HitTestTarget
target
,
this
.
result
)
:
super
(
target
);
...
...
@@ -42,9 +42,9 @@ class BindingHitTestEntry extends HitTestEntry {
/// The glue between the render tree and the sky engine
// TODO(ianh): rename this class FlutterBinding
class
Sky
Binding
extends
HitTestTarget
{
class
Flutter
Binding
extends
HitTestTarget
{
Sky
Binding
({
RenderBox
root:
null
,
RenderView
renderViewOverride
})
{
Flutter
Binding
({
RenderBox
root:
null
,
RenderView
renderViewOverride
})
{
assert
(
_instance
==
null
);
_instance
=
this
;
...
...
@@ -66,8 +66,8 @@ class SkyBinding extends HitTestTarget {
}
/// The singleton instance of the binding
static
Sky
Binding
get
instance
=>
_instance
;
static
Sky
Binding
_instance
;
static
Flutter
Binding
get
instance
=>
_instance
;
static
Flutter
Binding
_instance
;
/// The render tree that's attached to the output surface
RenderView
get
renderView
=>
_renderView
;
...
...
@@ -175,5 +175,5 @@ class SkyBinding extends HitTestTarget {
/// Prints a textual representation of the entire render tree
void
debugDumpRenderTree
(
)
{
Sky
Binding
.
instance
.
renderView
.
toStringDeep
().
split
(
'
\n
'
).
forEach
(
print
);
Flutter
Binding
.
instance
.
renderView
.
toStringDeep
().
split
(
'
\n
'
).
forEach
(
print
);
}
packages/flutter/lib/src/rendering/object.dart
View file @
a74d02da
...
...
@@ -585,7 +585,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
/// information is cleaned prior to painting so that render objects will
/// appear on screen in their up-to-date locations.
///
/// See [
Sky
Binding] for an example of how this function is used.
/// See [
Flutter
Binding] for an example of how this function is used.
static
void
flushLayout
()
{
sky
.
tracing
.
begin
(
'RenderObject.flushLayout'
);
_debugDoingLayout
=
true
;
...
...
@@ -906,7 +906,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
/// Painting occurs after layout and before the scene is recomposited so that
/// scene is composited with up-to-date display lists for every render object.
///
/// See [
Sky
Binding] for an example of how this function is used.
/// See [
Flutter
Binding] for an example of how this function is used.
static
void
flushPaint
()
{
sky
.
tracing
.
begin
(
'RenderObject.flushPaint'
);
_debugDoingPaint
=
true
;
...
...
packages/flutter/lib/src/rendering/toggleable.dart
View file @
a74d02da
...
...
@@ -6,7 +6,7 @@ import 'dart:sky' as sky;
import
'package:sky/animation.dart'
;
import
'package:sky/gestures.dart'
;
import
'package:sky/src/rendering/
sky_
binding.dart'
;
import
'package:sky/src/rendering/binding.dart'
;
import
'package:sky/src/rendering/box.dart'
;
import
'package:sky/src/rendering/object.dart'
;
import
'package:sky/src/rendering/proxy_box.dart'
;
...
...
@@ -41,7 +41,7 @@ abstract class RenderToggleable extends RenderConstrainedBox {
void
attach
()
{
super
.
attach
();
_tap
=
new
TapGestureRecognizer
(
router:
Sky
Binding
.
instance
.
pointerRouter
,
router:
Flutter
Binding
.
instance
.
pointerRouter
,
onTap:
_handleTap
);
}
...
...
packages/flutter/lib/src/widgets/drag_target.dart
View file @
a74d02da
...
...
@@ -90,7 +90,7 @@ class DragController {
}
void
update
(
Point
globalPosition
)
{
HitTestResult
result
=
Sky
Binding
.
instance
.
hitTest
(
globalPosition
);
HitTestResult
result
=
Flutter
Binding
.
instance
.
hitTest
(
globalPosition
);
DragTarget
target
=
_getDragTarget
(
result
.
path
);
if
(
target
==
_activeTarget
)
return
;
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
a74d02da
...
...
@@ -1477,15 +1477,15 @@ abstract class MultiChildRenderObjectWrapper extends RenderObjectWrapper {
}
class
Widget
SkyBinding
extends
Sky
Binding
{
class
Widget
FlutterBinding
extends
Flutter
Binding
{
Widget
Sky
Binding
({
RenderView
renderViewOverride:
null
})
Widget
Flutter
Binding
({
RenderView
renderViewOverride:
null
})
:
super
(
renderViewOverride:
renderViewOverride
);
static
void
initWidget
Sky
Binding
({
RenderView
renderViewOverride:
null
})
{
if
(
Sky
Binding
.
instance
==
null
)
new
Widget
Sky
Binding
(
renderViewOverride:
renderViewOverride
);
assert
(
SkyBinding
.
instance
is
WidgetSky
Binding
);
static
void
initWidget
Flutter
Binding
({
RenderView
renderViewOverride:
null
})
{
if
(
Flutter
Binding
.
instance
==
null
)
new
Widget
Flutter
Binding
(
renderViewOverride:
renderViewOverride
);
assert
(
FlutterBinding
.
instance
is
WidgetFlutter
Binding
);
}
void
handleEvent
(
sky
.
Event
event
,
BindingHitTestEntry
entry
)
{
...
...
@@ -1518,12 +1518,12 @@ abstract class App extends StatefulComponent {
void
didMount
()
{
super
.
didMount
();
Sky
Binding
.
instance
.
addEventListener
(
_handleEvent
);
Flutter
Binding
.
instance
.
addEventListener
(
_handleEvent
);
}
void
didUnmount
()
{
super
.
didUnmount
();
Sky
Binding
.
instance
.
removeEventListener
(
_handleEvent
);
Flutter
Binding
.
instance
.
removeEventListener
(
_handleEvent
);
}
void
syncConstructorArguments
(
Component
source
)
{
}
...
...
@@ -1559,12 +1559,12 @@ abstract class AbstractWidgetRoot extends StatefulComponent {
class
RenderViewWrapper
extends
OneChildRenderObjectWrapper
{
RenderViewWrapper
({
Key
key
,
Widget
child
})
:
super
(
key:
key
,
child:
child
);
RenderView
get
renderObject
=>
super
.
renderObject
;
RenderView
createNode
()
=>
Sky
Binding
.
instance
.
renderView
;
RenderView
createNode
()
=>
Flutter
Binding
.
instance
.
renderView
;
}
class
AppContainer
extends
AbstractWidgetRoot
{
AppContainer
(
this
.
app
)
{
assert
(
SkyBinding
.
instance
is
WidgetSky
Binding
);
assert
(
FlutterBinding
.
instance
is
WidgetFlutter
Binding
);
}
final
App
app
;
Widget
build
()
=>
new
RenderViewWrapper
(
child:
app
);
...
...
@@ -1572,7 +1572,7 @@ class AppContainer extends AbstractWidgetRoot {
AppContainer
_container
;
void
runApp
(
App
app
,
{
RenderView
renderViewOverride
,
bool
enableProfilingLoop:
false
})
{
Widget
SkyBinding
.
initWidgetSky
Binding
(
renderViewOverride:
renderViewOverride
);
Widget
FlutterBinding
.
initWidgetFlutter
Binding
(
renderViewOverride:
renderViewOverride
);
_container
=
new
AppContainer
(
app
);
if
(
enableProfilingLoop
)
{
new
Timer
.
periodic
(
const
Duration
(
milliseconds:
20
),
(
_
)
{
...
...
packages/flutter/lib/src/widgets/gesture_detector.dart
View file @
a74d02da
...
...
@@ -5,7 +5,7 @@
import
'dart:sky'
as
sky
;
import
'package:sky/gestures.dart'
;
import
'package:sky/src/rendering/
sky_
binding.dart'
;
import
'package:sky/src/rendering/binding.dart'
;
import
'package:sky/src/widgets/framework.dart'
;
class
GestureDetector
extends
StatefulComponent
{
...
...
@@ -70,7 +70,7 @@ class GestureDetector extends StatefulComponent {
_syncGestureListeners
();
}
final
PointerRouter
_router
=
Sky
Binding
.
instance
.
pointerRouter
;
final
PointerRouter
_router
=
Flutter
Binding
.
instance
.
pointerRouter
;
TapGestureRecognizer
_tap
;
TapGestureRecognizer
_ensureTap
()
{
...
...
packages/unit/test/fn3/widget_tester.dart
View file @
a74d02da
...
...
@@ -46,7 +46,7 @@ class WidgetTester {
}
return
result
;
}
List
<
Layer
>
get
layers
=>
_layers
(
Sky
Binding
.
instance
.
renderView
.
layer
);
List
<
Layer
>
get
layers
=>
_layers
(
Flutter
Binding
.
instance
.
renderView
.
layer
);
void
walkElements
(
ElementVisitor
visitor
)
{
...
...
packages/unit/test/widget/widget_tester.dart
View file @
a74d02da
...
...
@@ -45,7 +45,7 @@ class WidgetTester {
}
return
result
;
}
List
<
Layer
>
get
layers
=>
_layers
(
Sky
Binding
.
instance
.
renderView
.
layer
);
List
<
Layer
>
get
layers
=>
_layers
(
Flutter
Binding
.
instance
.
renderView
.
layer
);
void
walkWidgets
(
WidgetTreeWalker
walker
)
{
void
walk
(
Widget
widget
)
{
...
...
@@ -103,10 +103,10 @@ class WidgetTester {
return
_getWidgetPoint
(
widget
,
(
Size
size
)
=>
size
.
bottomRight
(
Point
.
origin
));
}
HitTestResult
_hitTest
(
Point
location
)
=>
Sky
Binding
.
instance
.
hitTest
(
location
);
HitTestResult
_hitTest
(
Point
location
)
=>
Flutter
Binding
.
instance
.
hitTest
(
location
);
void
_dispatchEvent
(
sky
.
Event
event
,
HitTestResult
result
)
{
Sky
Binding
.
instance
.
dispatchEvent
(
event
,
result
);
Flutter
Binding
.
instance
.
dispatchEvent
(
event
,
result
);
}
void
tap
(
Widget
widget
,
{
int
pointer:
1
})
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment