mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Fixes. Changed terms of use text.
This commit is contained in:
@@ -2,10 +2,11 @@ import 'package:flutter/material.dart';
|
||||
import 'package:cake_wallet/palette.dart';
|
||||
|
||||
class TrailButton extends StatelessWidget {
|
||||
TrailButton({@required this.caption, @required this.onPressed});
|
||||
TrailButton({@required this.caption, this.textColor, @required this.onPressed});
|
||||
|
||||
final String caption;
|
||||
final VoidCallback onPressed;
|
||||
final Color textColor;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
@@ -18,7 +19,8 @@ class TrailButton extends StatelessWidget {
|
||||
child: Text(
|
||||
caption,
|
||||
style: TextStyle(
|
||||
color: Palette.blueCraiola,
|
||||
color: textColor ??
|
||||
Theme.of(context).textTheme.subhead.decorationColor,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontSize: 14),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user