inqvine_core_simulate 1.3.0 inqvine_core_simulate: ^1.3.0 copied to clipboard
Build mock UIs and action mocks from within a simulator
inqvine_core_simulate
#
Extensions for DevicePreview to allow mocking of multiple pages and actions throughout an application
Platform Support
Android | iOS | MacOS | Web | Windows | Linux |
---|---|---|---|---|---|
✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Getting Started
- Import
inqvine_core_simulate
- Wrap your view widget in
InqvineSimulatable
providing the required parameters - Follow the
DevicePreview
guide for setup - Add the
FakeActionPlugin
andViewSelectionPlugin
to the tools inDevicePreview
Adding actions
You can include actions in your fakes passed to InqvineSimulatable
.
These functions get passed to the simulator and are available on the right hand side panel.
View Selection
Inside the ViewSelectionPlugin
implement the list of views to navigate to, and a function to navigate when required.
You can use the navigation solution of your choice.