DCFHitSlop class

Hit area expansion for touch targets(this feature is experimental, not much has been done to ensure it works before pre-release)

Constructors

DCFHitSlop({double? top, double? bottom, double? left, double? right})
const
DCFHitSlop.all(double value)
Create uniform hit slop expansion
factory
DCFHitSlop.fromMap(Map<String, dynamic> map)
Create from map
factory
DCFHitSlop.symmetric({double? vertical, double? horizontal})
Create symmetric hit slop expansion
factory

Properties

bottom double?
final
hashCode int
The hash code for this object.
no setterinherited
left double?
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to map for serialization
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited