alignment top-level constant Null safety
Implementation
const Map<String, dynamic> alignment = {
"bottom": Alignment.bottomCenter,
"center": Alignment.center,
"bottomLeft": Alignment.bottomLeft,
"bottomRight": Alignment.bottomRight,
"topLeft": Alignment.topLeft,
"topRight": Alignment.topRight,
"left": Alignment.centerLeft,
"right": Alignment.centerRight
};