| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | 
							- import 'package:flowy_infra/time/duration.dart';
 
- import 'package:flutter/material.dart';
 
- class FlowyContainer extends StatelessWidget {
 
-   final Color color;
 
-   final BorderRadiusGeometry? borderRadius;
 
-   final List<BoxShadow>? shadows;
 
-   final Widget? child;
 
-   final double? width;
 
-   final double? height;
 
-   final Alignment? align;
 
-   final EdgeInsets? margin;
 
-   final Duration? duration;
 
-   final BoxBorder? border;
 
-   const FlowyContainer(this.color,
 
-       {Key? key,
 
-       this.borderRadius,
 
-       this.shadows,
 
-       this.child,
 
-       this.width,
 
-       this.height,
 
-       this.align,
 
-       this.margin,
 
-       this.duration,
 
-       this.border})
 
-       : super(key: key);
 
-   @override
 
-   Widget build(BuildContext context) {
 
-     return AnimatedContainer(
 
-         width: width,
 
-         height: height,
 
-         child: child,
 
-         margin: margin,
 
-         alignment: align,
 
-         duration: duration ?? Durations.medium,
 
-         decoration: BoxDecoration(
 
-             color: color,
 
-             borderRadius: borderRadius,
 
-             boxShadow: shadows,
 
-             border: border));
 
-   }
 
- }
 
 
  |