mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This introduces the notion of event disposition and allows event targets (widgets and render objects) to consume events that should not be processed further. This is needed by the Switch component in the Drawer in the stocks example. The Switch is embedded in a DrawerItem. The Switch handles the gesture tap event to toggle its state and should handle pointer events to allow swiping and draw its own radial reaction. The DrawerItem also handles gesture taps to allow toggling the switch value when tapping anywhere on the drawer and to draw its own ink splash. When tapping on the switch, both the switch's render object and the DrawerItem's listener are in the event dispatch path. The Switch needs to signal in some fashion that it consumed the event so the DrawerItem does not also try to toggle the switch's state.
Sky
Sky is a new way to build high performance, cross platform mobile apps. More specifically, Sky is a rendering engine, a scripting engine, an (optional) framework, and a (optional) set of Material Design widgets. Sky is optimized for today's, and tomorrow's, mobile devices. We are focused on low-latency input, high frame rates, and we are purely mobile first.
-
For information about using Sky to build apps, please see Getting Started with Sky.
-
For information about contributing to Sky, please see CONTRIBUTING.md.
Community
Join us on IRC at #sky on Freenode or join our mailing list,
sky-dev@googlegroups.com.
Description
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
androidapp-frameworkcross-platformdartdart-platformdesktopflutterflutter-packagefuchsiaioslinux-desktopmacosmaterial-designmobilemobile-developmentskiawebweb-frameworkwindows
Readme
2.5 GiB
Languages
Dart
75%
C++
16.5%
Objective-C++
2.9%
Java
2.8%
Objective-C
0.7%
Other
1.9%