defaults constant

UIAdjust const defaults

Default UI adjust used by the paysheet. Backgrounds/button backgrounds are always white by design; never use blue as a background.

Implementation

static const UIAdjust defaults = UIAdjust(
  u: null,
  backgroundColor: Colors.white,
  sheetCornerRadius: 16.0,
  merchantHeaderColor: Colors.white,
  merchantHeaderElevation: 4.0,
  merchantNameTextStyle: TextStyle(fontSize: 16, fontWeight: FontWeight.bold),
  merchantInfoTextStyle: TextStyle(color: Colors.black54),
  summaryTitleTextStyle: TextStyle(color: Colors.black54),
  summaryItemTextStyle: TextStyle(),
  buttonBackgroundColor: Colors.white,
  buttonForegroundColor: Colors.black,
  buttonTextStyle: TextStyle(fontSize: 14.0),
  contentPadding: EdgeInsets.only(bottom: 16, left: 16, right: 16, top: 16),
);