You can pass data back to the previous page by passing the data to the Navigator.pop
function.
ScreenB.dart
Navigator.pop(context, yourStringData);
Catch it like follows
ScreenA.dart
final result = await Navigator.push(
context,
MaterialPageRoute(builder: (_) => ScreenB()),
);