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';
|
2020-07-29 16:55:42 +00:00
|
|
|
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
|
2020-07-29 16:55:42 +00:00
|
|
|
String get title => sendViewModel.pageTitle;
|
2020-01-08 12:26:34 +00:00
|
|
|
|
|
|
|
@override
|
2020-07-29 16:55:42 +00:00
|
|
|
Color get backgroundLightColor => PaletteDark.nightBlue;
|
2020-05-29 15:10:11 +00:00
|
|
|
|
|
|
|
@override
|
2020-07-29 16:55:42 +00:00
|
|
|
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;
|
|
|
|
|
2020-05-11 08:22:03 +00:00
|
|
|
@override
|
2020-07-29 16:55:42 +00:00
|
|
|
Widget body(BuildContext context) =>
|
|
|
|
BaseSendWidget(sendViewModel: sendViewModel);
|
2020-01-04 19:31:52 +00:00
|
|
|
}
|