stack_wallet/lib/widgets/gradient_card.dart
2022-08-26 16:11:35 +08:00

36 lines
1.1 KiB
Dart

// import 'package:flutter/material.dart';
// import 'package:stackwallet/utilities/cfcolors.dart';
//
// class GradientCard extends StatelessWidget {
// const GradientCard(
// {Key key,
// this.child,
// @required this.gradient,
// this.backgroundColorForTransparentGradient = Colors.white,
// this.circularBorderRadius = 0.0})
// : super(key: key);
//
// final Widget child;
// final Gradient gradient;
// final Color backgroundColorForTransparentGradient;
// final double circularBorderRadius;
//
// @override
// Widget build(BuildContext context) {
// return Material(
// color: backgroundColorForTransparentGradient,
// borderRadius: BorderRadius.circular(circularBorderRadius),
// elevation: 0,
// child: Container(
// decoration: BoxDecoration(
// gradient: gradient,
// borderRadius: BorderRadius.circular(circularBorderRadius),
// boxShadow: [
// CFColors.standardBoxShadow,
// ],
// ),
// child: child,
// ),
// );
// }
// }