padding property

MaterialStateProperty<EdgeInsetsGeometry?>? padding
final

The padding between the search bar's boundary and its contents.

If null, the value of SearchBarThemeData.padding will be used. If this is also null, then the default value is 16.0 horizontally.

Implementation

final MaterialStateProperty<EdgeInsetsGeometry?>? padding;