box method
Mission box-info.
Implementation
void box(String caller) {
print('-->>-->> :mis:box: boxServe start -->>-->>-- ');
_buf.writeln(':mis:box:start: ');
final int _sw = 194; // default screen width, changed later =>
final int _rc = 47; // row count
// to use #unUsed
_sw;
_rc;
String boxHeader = ':mis:box:';
print('-->>-->> $boxHeader boxServe start -->>-->>-- ');
List<String> _infoL = [
'Mission is connected with other missions in camp Y/ con, and they can work together and join messaging.',
'Chores under a mission can connect and use #masters #say and placardM, and has access to :bind:bing:',
];
boxServe.init(42, 198, '_'); // rows, width or: 0 = use default 47, 195
boxServe.construct(':mis:box: C: $caller', ':mis:box: $caller');
boxServe.aHeader(1, 30, 'clayMap::');
/// Not much informative.
boxServe.aHeader(1, 42, clayMap.keys.toString());
boxServe.aHeader(2, 4, name);
boxServe.aHeader(2, 20, choreL.toString());
boxServe.aHeader(3, 4, motto);
boxServe.aHeader(4, 4, clause);
boxServe.aBox(3, 84, 2, 100, _infoL);
boxServe.aBox(6, 4, 8, 76, tl.mapToFineList(say, 9, 68));
boxServe.aBox(16, 4, 8, 45, tl.mapToFineList(placardM, 8, 37));
boxServe.aHeader(25, 4, ' * * state * * ');
boxServe.aBox(26, 4, 8, 30, tl.mapToListB(st));
boxServe.aHeader(33, 4, ' * * opSt * * ');
boxServe.aBox(34, 4, 8, 30, tl.mapToListB(_opSt));
// parameters: boxServe.aBox(_r, _c, _items, _w, _l)
boxServe.aHeader(5, 140, ' * * Measures * * ');
boxServe.aHeader(14, 140, ' * * phenomenon * * ');
boxServe.aHeader(24, 140, ' * * KnofHow * * ');
boxServe.aHeader(34, 140, ' * * Effort * * ');
// boxServe.aBox(_r, _c, _items, _w, _l)
// boxServe.aBox(_r, _c, _items, _w, _l)
// boxServe.aBox(_r, _c, _items, _w, _l)
boxServe.aHeader(7, 160, '* mission buf *');
boxServe.aBox(8, 160, 34, 33, tl.bufToList(_buf));
boxServe.show(':mis:box:', 'print', 2);
boxServe.done(':mis:box:');
print('--<<--<< :mis:box: boxServe done --<<--<<-- ');
}