contentPaddingTop method

DefineMTextFieldModifier contentPaddingTop(
  1. double value
)

Implementation

DefineMTextFieldModifier contentPaddingTop(double value) {
  final newPadding = EdgeInsets.only(
    top: value,
    bottom: thisPadding?.bottom ?? 0,
    left: thisPadding?.left ?? 0,
    right: thisPadding?.right ?? 0,
  );
  return this.copyWith(
    decorationValue: (this.decorationValue ?? InputDecoration()).copyWith(
      contentPadding: newPadding,
    ),
  );
}