mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-24 04:19:23 +00:00
23 lines
561 B
Dart
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,
|
|
);
|
|
}
|
|
}
|