TW-4308 Add labels for several messages part 2 (#4431)
Add ChooseLabelModal, delegate, and update label UI components Wire add-labels action across Thread, Search, and Dashboard
This commit is contained in:
@@ -6,18 +6,21 @@ import 'package:flutter/material.dart';
|
||||
class DefaultCloseButtonWidget extends StatelessWidget {
|
||||
final String iconClose;
|
||||
final VoidCallback onTapActionCallback;
|
||||
final bool isAlignTopEnd;
|
||||
|
||||
const DefaultCloseButtonWidget({
|
||||
super.key,
|
||||
required this.iconClose,
|
||||
required this.onTapActionCallback,
|
||||
this.isAlignTopEnd = true,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return PositionedDirectional(
|
||||
top: 4,
|
||||
end: 4,
|
||||
end: isAlignTopEnd ? 4 : null,
|
||||
start: isAlignTopEnd ? null : 4,
|
||||
child: TMailButtonWidget.fromIcon(
|
||||
icon: iconClose,
|
||||
iconSize: 24,
|
||||
|
||||
Reference in New Issue
Block a user