addEndAdornment method
Implementation
Widget addEndAdornment(Widget child) {
if (endAdornment == null) {
return child;
}
return Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Expanded(
child: child,
),
endAdornment!
],
);
}