import 'package:flutter/material.dart'; import 'package:auto_route/auto_route.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; import 'package:router/ext/auto_router_extensions.dart'; import 'package:shared/utils/color_utils.dart'; import 'package:shared/utils/log_utils.dart'; import 'package:widgets/my_load_image.dart'; import 'package:widgets/ext/ex_widget.dart'; import 'package:widgets/my_text_view.dart'; import 'package:widgets/my_appbar.dart'; import 'package:cs_resources/theme/app_colors_theme.dart'; import 'package:widgets/widget_export.dart'; import '../../../router/page/community_page_router.dart'; import 'following_vm.dart'; @RoutePage() class FollowingPage extends HookConsumerWidget { const FollowingPage({Key? key}) : super(key: key); //启动当前页面 static void startInstance({BuildContext? context}) { if (context != null) { context.router.push(const FollowingPageRoute()); } else { appRouter.push(const FollowingPageRoute()); } } @override Widget build(BuildContext context, WidgetRef ref) { return const Scaffold( // appBar: MyAppBar.appBar( // context, // "following", // backgroundColor: context.appColors.whiteBG, // ), // backgroundColor: ColorUtils.string2Color("#F2F3F6"), body: Column( children: [ Text("newspage-following"), ], ) ); } }