xxf_desktop library
Classes
- AppWindow
- Representation of native window
- Area
- Child area in the MultiSplitView.
- CloseIcon
- Close
- CloseWindowButton
- ContextualMenuArea
- 桌面端程序之右键菜单
- ContextualMenuAreaState
- DesktopMultiWindow
- DividerPainter
- Allows customizing the divider.
- DividerPainters
- The divider painter factory.
- DividerWidget
- The standard divider widget for MultiSplitView that renders the DividerPainter from the current MultiSplitViewTheme.
- Draft
- A sample widget used to demonstrate the usage of a split area within a layout. This widget is intended for demonstration purposes only during development and should not be used in production.
- MaximizeIcon
- Maximize
- MaximizeWindowButton
- Menu
- MenuBehavior
- MenuItem
- MenuItemBase
- The base type for an individual menu item that can be shown in a menu.
- MenuItemCheckbox
- A menu item that serves as a checkbox.
- MenuItemLabel
- A standard menu item, with no submenus.
- MenuSeparator
- A menu item that serves as a separator, generally drawn as a line.
- MinimizeIcon
- Minimize
- MinimizeWindowButton
- MoveWindow
- MultiSplitView
- A widget to provides horizontal or vertical multiple split view.
- MultiSplitViewController
- Controller for MultiSplitView.
- MultiSplitViewTheme
- Applies a MultiSplitView theme to descendant widgets. See also:
- MultiSplitViewThemeData
- The MultiSplitView theme. Defines the configuration of the overall visual MultiSplitViewTheme for a widget subtree within the app.
- RestoreIcon
- Restore
- RestoreWindowButton
- SubMenu
- A menu item continaing a submenu.
- SystemTray
- Representation of system tray
- WindowBorder
- WindowButton
- WindowButtonColors
- WindowButtonContext
- WindowController
- The WindowController instance that is used to control this window.
- WindowTitleBarBox
Enums
- MinSizeRecoveryPolicy
- Represents the order in which the minimum size of the areas is recovered.
- Placement
- SizeOverflowPolicy
- Represents the policy for handling overflow of non-flexible areas within a container.
- SizeUnderflowPolicy
- Represents the policy for handling cases where the total size of non-flexible areas within a container is smaller than the available space.
Extensions
Constants
- kSystemTrayEventClick → const String
- SystemTray event name
- kSystemTrayEventDoubleClick → const String
- kSystemTrayEventRightClick → const String
Properties
- appWindow → DesktopWindow
-
no setter
Functions
-
doWhenWindowReady(
VoidCallback callback) → void -
getPaint(
Color color, [bool isAntiAlias = false]) → Paint -
initPlatformInstance(
) → void -
popUpContextualMenu(
Offset? position, Placement placement = Placement.bottomRight}) → Future< void>
Typedefs
- AreaDataModifier = dynamic Function(Area area, int index)
- Allows to automatically set a new value for the data attribute of the Area.
- AreaWidgetBuilder = Widget Function(BuildContext context, Area area)
- Signature for the area widget builder.
-
ContextMenuBuilder
= List<
MenuItem> Function(BuildContext context) - DividerBuilder = Widget Function(Axis axis, int index, bool resizable, bool dragging, bool highlighted, MultiSplitViewThemeData themeData)
- DividerDoubleTapCallback = void Function(int dividerIndex)
- Signature for when a divider double tap has occurred.
- DividerTapCallback = void Function(int dividerIndex)
- Signature for when a divider tap has occurred.
- MenuItemSelectedCallback = void Function(MenuItemBase)
- A callback provided to MenuItemBase to handle menu selection.
- OnDividerDragEvent = void Function(int index)
- SystemTrayEventCallback = void Function(String eventName)
- A callback provided to SystemTray to handle system tray click event.
- WindowButtonBuilder = Widget Function(WindowButtonContext buttonContext, Widget icon)
- WindowButtonIconBuilder = Widget Function(WindowButtonContext buttonContext)