Advertisement
Guest User

Untitled

a guest
Oct 4th, 2018
341
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.31 KB | None | 0 0
  1. class CalendarCell extends StatelessWidget {
  2.   final Widget child;
  3.  
  4.   const Foo({this.child, Key key}): super(key: key);
  5.  
  6.   @override
  7.   Widget build(BuildContext context) {
  8.     return Expanded(
  9.       child: Padding(
  10.         child: child,
  11.         padding: EdgeInset.only(left: 10.0),
  12.       ),
  13.     );
  14.   }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement