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(
|
return ListView.builder(
|
||||||
itemCount: item.data?.length,
|
itemCount: item.data?.length,
|
||||||
itemBuilder: (context, int n) {
|
itemBuilder: (context, int n) {
|
||||||
return Text(
|
return SelectableText(
|
||||||
utf8.decode(item.data![n], allowMalformed: true),
|
utf8.decode(item.data![n], allowMalformed: true),
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontFamily: "SourceCodePro",
|
fontFamily: "SourceCodePro",
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w600,
|
||||||
height: 1.0,
|
height: 1.0,
|
||||||
// Might need to be tuned for ASCII art
|
// Might need to be tuned for ASCII art
|
||||||
letterSpacing: 1,
|
letterSpacing: 1,
|
||||||
|
|
Loading…
Reference in a new issue