Make text selectable and thicker
This commit is contained in:
parent
8fc5c206d0
commit
4350f954a0
1 changed files with 2 additions and 2 deletions
|
@ -22,11 +22,11 @@ class GopherText extends StatelessWidget {
|
|||
return ListView.builder(
|
||||
itemCount: item.data?.length,
|
||||
itemBuilder: (context, int n) {
|
||||
return Text(
|
||||
return SelectableText(
|
||||
utf8.decode(item.data![n], allowMalformed: true),
|
||||
style: const TextStyle(
|
||||
fontFamily: "SourceCodePro",
|
||||
fontWeight: FontWeight.w400,
|
||||
fontWeight: FontWeight.w600,
|
||||
height: 1.0,
|
||||
// Might need to be tuned for ASCII art
|
||||
letterSpacing: 1,
|
||||
|
|
Loading…
Reference in a new issue