We can implement this without widget
Create a new Mendix application or open an existing one in the Mendix Modeler.
Open the page where you want to add the calculator functionality or create a new page for the calculator.
Drag and drop input fields and buttons onto the page to create the calculator interface. You'll need input fields for displaying the numbers and an output field to display the result.
For each button representing a number or an operator (e.g., addition, subtraction), create a microflow or nanoflow that will handle the button's click event.
In the microflow or nanoflow, add actions to perform the desired calculations based on the button clicked.
Use variables or context objects to store the input numbers, the operator selected, and the result of the calculation.
Based on the button clicked, update the input fields and perform the calculation in the microflow or nanoflow.
Set the calculated result in the output field.
Configure the button's click event to trigger the corresponding microflow or nanoflow.
Run your Mendix application and test the calculator functionality.