INNER CODE UNIT · Dart
PreferDirection
MMMzq/bot_toast · lib/src/basis.dart:46
class PreferDirection {
static const PreferDirection topLeft = PreferDirection(0, 'topLeft');
static const PreferDirection topCenter = PreferDirection(1, 'topCenter');
static const PreferDirection topRight = PreferDirection(2, 'topRight');
static const PreferDirection bottomLeft = PreferDirection(3, 'bottomLeft');
static const PreferDirection bottomCenter = PreferDirection(4, 'bottomCenter');
static const PreferDirection bottomRight = PreferDirection(5, 'bottomRight');
static const PreferDirection leftTop = PreferDirection(6, 'leftTop');
static const PreferDirection leftCenter = PreferDirection(7, 'leftCenter');
static const PreferDirection leftBottom = PreferDirection(8, 'leftBottom');
static const PreferDirection rightTop = PreferDirection(9, 'rightTop');
static const PreferDirection rightCenter = PreferDirection(10, 'rightCenter');
static const PreferDirection rightBottom = PreferDirection(11, 'rightBottom');
const PreferDirection(this.index, this.name);
final int index;
final String name;