···11+import 'package:auto_route/auto_route.dart';
22+import 'package:flutter/material.dart';
33+import 'package:spark/src/core/design_system/components/atoms/icons.dart';
44+import 'package:spark/src/core/ui/foundation/colors.dart';
55+66+/// Design System overlay back button for full-screen/dark pages.
77+///
88+/// Use this button when you need a back button positioned as an overlay
99+/// (e.g., in a Stack) rather than in an AppBar. Matches the visual style
1010+/// of [AppLeadingButton] but designed for overlay contexts.
1111+class AppOverlayBackButton extends StatelessWidget {
1212+ const AppOverlayBackButton({
1313+ super.key,
1414+ this.color = AppColors.white,
1515+ this.onPressed,
1616+ });
1717+1818+ /// Color for the icon. Defaults to white for dark/overlay screens.
1919+ final Color color;
2020+2121+ /// Optional custom callback. If null, defaults to `context.router.maybePop()`.
2222+ final VoidCallback? onPressed;
2323+2424+ @override
2525+ Widget build(BuildContext context) {
2626+ return SafeArea(
2727+ child: Padding(
2828+ padding: const EdgeInsets.only(left: 4),
2929+ child: SizedBox(
3030+ width: 40,
3131+ height: 40,
3232+ child: Tooltip(
3333+ message: 'Back',
3434+ child: GestureDetector(
3535+ onTap: onPressed ?? () => context.router.maybePop(),
3636+ child: Center(
3737+ child: AppIcons.chevronleft(color: color, size: 28),
3838+ ),
3939+ ),
4040+ ),
4141+ ),
4242+ ),
4343+ );
4444+ }
4545+}
···229229 String? cursor,
230230 bool bluesky = false,
231231 });
232232+233233+ /// Get a list of posts liked by an actor
234234+ ///
235235+ /// [actor] The at-identifier of the actor (handle or DID)
236236+ /// [limit] The number of items to return (default 50, max 100)
237237+ /// [cursor] Pagination cursor for the next set of results
238238+ /// [bluesky] Whether to fetch from Bluesky API instead of Spark
239239+ Future<({List<FeedViewPost> posts, String? cursor})> getActorLikes(
240240+ String actor, {
241241+ int limit = 50,
242242+ String? cursor,
243243+ bool bluesky = false,
244244+ });
232245}