nativeapi_flutter 0.5.2
nativeapi_flutter: ^0.5.2 copied to clipboard
Flutter integration for nativeapi: widgets, dart:ui conversions and the multi-window bridge on top of package:nativeapi.
0.5.2 #
- Requires nativeapi 0.5.2.
0.5.1 #
- Requires nativeapi 0.5.1, which no longer leaves objects behind or crashes on a hot restart.
0.5.0 #
-
Requires nativeapi 0.5.0.
-
DragToMoveAreaopens the native system window menu on a secondary click: on the release on Windows, as a native title bar does, and on the press on supporting Linux window managers, which a Wayland compositor requires. -
MaximizeButtonArea: wrap a custom title bar's maximize button in it and Windows 11 shows the snap layouts when the pointer rests on it. The button still gets hover, press and tap; the area follows it and goes away with it. -
package:nativeapi_flutter/windowing.dartcompiles for the web too (leanflutter/tray_manager#108): therenativeWindowOfandnativeWindowreturn null, since no native window stands behind a controller. -
DragToMoveAreafollows the macOS title-bar double-click preference, including Minimize and None, through the native window action.
0.4.1 #
- Requires nativeapi 0.4.1.
runNativeAppis not re-exported: it is for plain Dart programs, and a Flutter app's engine already runs the event loop.
0.4.0 #
- Initial release. It re-exports
package:nativeapi. View,TextFieldandEdgeInsetsfrom nativeapi are not re-exported, as Flutter already has widgets and a class of those names; use the native ones through a prefixedpackage:nativeapi/nativeapi.dartimport.- Holds the Flutter side of nativeapi, which is now a plain Dart package: the
widgets (
DragToMoveArea,DragToResizeArea,DragOutArea,DropRegion,ContextMenuRegion),ImageAssetandpackage:nativeapi_flutter/windowing.dartmoved here fromnativeapi. - Conversions between nativeapi's
Point,Size,Rectangle,ColorandBrightnessanddart:ui'sOffset,Size,Rect,ColorandBrightness. - The re-export of
package:nativeapileaves outBrightness,Color,Display,Image,ModifierKey,ShortcutManagerandSize, which clash with Flutter's names.