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