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

23 lines
561 B
Dart

import 'package:flutter/cupertino.dart';
import 'package:stackwallet/utilities/cfcolors.dart';
import 'package:stackwallet/widgets/rounded_container.dart';
class RoundedWhiteContainer extends StatelessWidget {
const RoundedWhiteContainer({
Key? key,
this.child,
this.padding = const EdgeInsets.all(12),
}) : super(key: key);
final Widget? child;
final EdgeInsets padding;
@override
Widget build(BuildContext context) {
return RoundedContainer(
color: CFColors.white,
padding: padding,
child: child,
);
}
}