Text in tutorial doesn't scroll
MarcoFiorentino opened this issue · 0 comments
MarcoFiorentino commented
In one of mine TargetFocus the text is too long so I'd like to make it scrollable.
The TargetFocus is this:
TargetFocus(
identify: "BardPublicType",
keyTarget: keyTargets["chooseBardPublicTypeKey"],
enableOverlayTab: true,
enableTargetTab: true,
shape: ShapeLightFocus.RRect,
radius: 5.0,
contents: [
TargetContent(
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Padding(
padding: const EdgeInsets.only(top: 50.0),
child: Text(
translate("tutorial.bard_public_column_title"),
style: const TextStyle(fontWeight: FontWeight.bold, color: Colors.white, fontSize: 20.0),
),
),
Padding(
padding: const EdgeInsets.only(top: 10.0),
child: Text(
translate("tutorial.choose_bard_public"),
style: const TextStyle(color: Colors.white, fontSize: 18.0),
),
),
],
),
),
],
),
The last text is the one too long.
I tried to put it in a SingleChildScrollWiew but it didn't work.
I tried to put even the Padding or the whole column in a SingleChildScrollView but this doesn't work either.
Any idea to how to make it?