fromHorizontal property

EdgeInsets get fromHorizontal

Creates EdgeInsets with both left and right offsets set to the current value.

Implementation

EdgeInsets get fromHorizontal => EdgeInsets.symmetric(horizontal: toDouble());