layout property
Implementation
@override
get layout {
return [
Positioned(
child: background,
),
Positioned(
top: percentH(10),
left: percentW(10),
child: title,
),
Positioned(
top: percentH(28),
left: percentW(10),
right: percentW(10),
height: percentH(actions == null ? 62 : 50),
child: content,
),
Positioned(
bottom: percentW(14),
left: percentW(10),
right: percentW(10),
child: actions ?? Container(),
),
];
}