Skip to content

Commit

Permalink
change retry button text & add underline decoration to it
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhral-kumar committed Nov 2, 2020
1 parent 64e7ff4 commit cb19f5e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion example/lib/non_tc_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,12 @@ class _HomePageState extends State<HomePage> {
visible: showRetryTextView(),
child: _ttl == 0
? FlatButton(
child: Text("retry again"),
child: Text(
"verification timed out, retry again",
style: TextStyle(
decoration: TextDecoration.underline,
),
),
textColor: Colors.blue,
onPressed: () => setState(() => tempResult = null))
: Text("Retry again in $_ttl seconds"),
Expand Down

0 comments on commit cb19f5e

Please sign in to comment.