You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
844 B
31 lines
844 B
// Flutter imports:
|
|
import 'package:akuCommunity/utils/headers.dart';
|
|
import 'package:flutter/cupertino.dart';
|
|
import 'package:flutter/material.dart';
|
|
|
|
// Package imports:
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
class ApplicationBox extends StatelessWidget {
|
|
final Widget child;
|
|
ApplicationBox({Key key, this.child}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return VxBox(child: child)
|
|
.margin(EdgeInsets.symmetric(horizontal: 32.w, vertical: 24.w))
|
|
.padding(EdgeInsets.all(24.w))
|
|
.color(Colors.white)
|
|
.withRounded(value: 8.w)
|
|
.withShadow([
|
|
BoxShadow(
|
|
color: Colors.grey.withOpacity(0.2),
|
|
offset: Offset(1.1, 1.1),
|
|
blurRadius: 10.0,
|
|
)
|
|
])
|
|
.make()
|
|
.centered();
|
|
}
|
|
}
|