flutter_host_device 0.3.1
flutter_host_device: ^0.3.1 copied to clipboard
A Flutter widget that renders host devices with ports, fully programmatic — no SVG assets required.
0.3.1 #
- Add
enablePortHoverAnimationparameter to disable port hover float animation - Add
showPortLabelsparameter to hide port labels entirely - Add
portLabelStyleparameter for custom port label text styling - Add semi-transparent background pill behind port labels for improved readability
- Add
portLabelBackgroundDecorationparameter to customize or disable the label pill - Add hover animation and port label toggles to example app
0.3.0 #
- Add
selectedPortNumbersparameter for port selection state - Add
unselectedPortOpacityparameter for spotlight dimming of unselected ports - Selected ports keep hover float animation at the forward position
- Add
isSelectedandopacityparameters toPortWidget - Add spotlight mode demo to example app
- 75 tests
0.2.0 #
- Add Agent (DPU) scenario support with
TopoDeviceType.agent - Add
portPositionOverrideparameter for on-body port placement - Add
portSizeparameter for custom port icon sizing - Add Host/Agent scenario toggle in example app
- Agent uses NETA/NETB port labels with semi-elliptical arc layout
- Upgrade
topology_view_iconsto 1.2.1 (addsTopoPortPainter) - Replace custom
PortPainterwithTopoPortPainter(LNM style RJ45 icons) - Increase default port size from 30px to 45px for better RJ45 icon readability
- Move port labels below icon instead of overlapping
- Re-export
TopoPortPainterfrom barrel file
0.1.0 #
- Initial release
- Host device view with semi-elliptical port arc layout
- Center device rendering using topology_view_icons (LNM style)
- RJ45 port icons with link up/down/disabled states
- Dark and light theme support with auto-detection
- Host floating icon widget (monitor + neck + base silhouette)
- Custom port labels and replaceable center device builder
- Static
getPortPositions()API for connection line drawing - Configurable
deviceTypeparameter (host, router, server, etc.) - 66 tests