padding static method
The room inside a card: 10 above, 20 at the sides and 28 under on a phone; 24 above, 28 at the sides and under at desktop width.
Implementation
static EdgeInsets padding(BuildContext context) =>
LedgerLayout.isWide(context)
? const EdgeInsets.fromLTRB(
LedgerChromeMetrics.dialogPad,
0,
LedgerChromeMetrics.dialogPad,
LedgerChromeMetrics.dialogPad,
)
: const EdgeInsets.fromLTRB(
LedgerChromeMetrics.gutter,
0,
LedgerChromeMetrics.gutter,
LedgerChromeMetrics.sheetFoot,
);