mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 09:45:22 +00:00
23 lines
454 B
Dart
23 lines
454 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class DefaultContainer extends StatelessWidget {
|
|
const DefaultContainer({
|
|
super.key,
|
|
required this.child,
|
|
});
|
|
|
|
final Widget child;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
decoration: BoxDecoration(
|
|
color: Colors.white,
|
|
borderRadius: BorderRadius.circular(20),
|
|
),
|
|
padding: const EdgeInsets.all(10),
|
|
child: child,
|
|
);
|
|
}
|
|
}
|