cake_wallet/lib/src/screens/send/send_page.dart

29 lines
807 B
Dart
Raw Normal View History

2020-07-06 20:09:03 +00:00
import 'package:cake_wallet/view_model/send_view_model.dart';
2020-01-04 19:31:52 +00:00
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:cake_wallet/palette.dart';
import 'package:cake_wallet/src/screens/base_page.dart';
import 'package:cake_wallet/src/screens/send/widgets/base_send_widget.dart';
2020-01-04 19:31:52 +00:00
class SendPage extends BasePage {
2020-07-06 20:09:03 +00:00
SendPage({@required this.sendViewModel});
final SendViewModel sendViewModel;
2020-01-08 12:26:34 +00:00
@override
String get title => sendViewModel.pageTitle;
2020-01-08 12:26:34 +00:00
@override
Color get backgroundLightColor => PaletteDark.nightBlue;
@override
Color get backgroundDarkColor => PaletteDark.nightBlue;
2020-01-08 12:26:34 +00:00
@override
2020-01-04 19:31:52 +00:00
bool get resizeToAvoidBottomPadding => false;
@override
Widget body(BuildContext context) =>
BaseSendWidget(sendViewModel: sendViewModel);
2020-01-04 19:31:52 +00:00
}