buildPadding function
[Padding] buildPadding(
- [[BuildContext] context, ]
- [[String] text]
)
Generates a Padding
widget with customizable vertical padding around a
text element.
params:
context
: The build context in which the padding method is called.text
: The text on which padding should be applied.
returns:
Padding
: Padding widget with vertical padding applied to the provided text.
Implementation
Padding buildPadding(BuildContext context, String text)
- talawa
- individual_post
- buildPadding function