TouchModel constructor
TouchModel({})
Touch point with properties
- Coordinate x
double x;
- Coordinate y
double y;
- Coordinate z (Not supported at the moment)
double z;
- Pressing force on the liquid element. x
double force;
- whether to show a short touch (Tap) on the LiquidContainer
bool isShow = false;
Implementation
/// * Coordinate [y]
/// ```
/// double y;
/// ```
/// * Coordinate [z] (Not supported at the moment)
/// ```
/// double z;
/// ```
/// * Pressing force on the liquid element. [x]
/// ```
/// double force;
/// ```
/// * whether to show a short touch (Tap) on the [LiquidContainer]
/// ```
/// bool isShow = false;
/// ```
/// *
TouchModel({
required this.x,
required this.y,
required this.z,
required this.force,
required this.isShow,
});