mirror of
https://github.com/immich-app/immich.git
synced 2025-09-29 15:31:13 -04:00
* feat: action buttons place holder * lint * Update base_action_button.widget.dart Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com> --------- Co-authored-by: shenlong <139912620+shenlong-tanwen@users.noreply.github.com>
18 lines
605 B
Dart
18 lines
605 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
import 'package:immich_mobile/extensions/translate_extensions.dart';
|
|
import 'package:immich_mobile/presentation/widgets/action_buttons/base_action_button.widget.dart';
|
|
|
|
class TrashActionButton extends ConsumerWidget {
|
|
const TrashActionButton({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context, WidgetRef ref) {
|
|
return BaseActionButton(
|
|
maxWidth: 85.0,
|
|
iconData: Icons.delete_outline_rounded,
|
|
label: "control_bottom_app_bar_trash_from_immich".t(context: context),
|
|
);
|
|
}
|
|
}
|