ledgerOptionPaper function
The raised paper a suggestion list stands on, as the select's: the surface in the rule, the small radius, the menu's shadow. Plumbing of the combobox and the tag input.
Implementation
Widget ledgerOptionPaper(BuildContext context, Widget list) {
final t = context.ledgerTheme;
return DecoratedBox(
decoration: BoxDecoration(
color: t.surface,
borderRadius: BorderRadius.circular(t.smallRadius),
border: Border.all(color: t.border),
boxShadow: t.menuShadow,
),
child: ClipRRect(
borderRadius: BorderRadius.circular(t.smallRadius),
child: Padding(
padding: const EdgeInsets.symmetric(vertical: LedgerSpacing.s4),
child: list,
),
),
);
}