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