except static method

dynamic except(
  1. List<String> except, [
  2. double padding = 15
])
// set all values is 15 except top
Ei.except(['t'], 15);

Implementation

static except(List<String> except, [double padding = 15]) => EdgeInsets.only(
    bottom: !except.contains('b') ? padding : 0,
    top: !except.contains('t') ? padding : 0,
    left: !except.contains('l') ? padding : 0,
    right: !except.contains('r') ? padding : 0);