TUIMobileButtonBlockStyle constructor
TUIMobileButtonBlockStyle({})
Implementation
TUIMobileButtonBlockStyle({
Key? key,
required this.style,
this.left,
this.right,
this.button,
}) {
if (style == Style.flexible) {
assert((left != null) && (right != null));
} else if (style == Style.two) {
assert((left != null && right != null));
} else {
assert(button != null);
}
}