layout property
Implementation
@override
get layout {
return [
Positioned(
child: background,
),
Positioned(
top: percentH(32),
child: title,
),
Positioned(
top: percentH(42),
left: percentW(12),
right: percentW(12),
height: percentH(actions == null ? 52 : 42),
child: content,
),
Positioned(
bottom: percentW(9),
left: percentW(12),
right: percentW(12),
child: actions ?? Container(),
),
];
}