CWA-222 | decreased height of spaces in the dashboard page; renamed clear button to trail button; changed clear button to reset button on exchange page; changed font color on confirm sending alert; increased next button on seed page

This commit is contained in:
Oleksandr Sobol
2020-06-10 19:17:55 +03:00
parent 5752b98c62
commit 4dfed515c7
8 changed files with 25 additions and 19 deletions
@@ -1,9 +1,12 @@
import 'package:flutter/material.dart';
import 'package:cake_wallet/generated/i18n.dart';
class ClearButton extends StatelessWidget {
ClearButton({@required this.onPressed});
class TrailButton extends StatelessWidget {
TrailButton({
@required this.caption,
@required this.onPressed
});
final String caption;
final VoidCallback onPressed;
@override
@@ -16,7 +19,7 @@ class ClearButton extends StatelessWidget {
child: FlatButton(
padding: EdgeInsets.all(0),
child: Text(
S.of(context).clear,
caption,
style: TextStyle(
color: Theme.of(context).primaryTextTheme.caption.color,
fontWeight: FontWeight.w500,