stack_wallet/lib/pages_desktop_specific/home/desktop_home_view.dart

30 lines
870 B
Dart

import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:stackwallet/pages_desktop_specific/home/desktop_menu.dart';
import 'package:stackwallet/utilities/cfcolors.dart';
final homeContent = Provider<Widget>((ref) => Container());
class DesktopHomeView extends ConsumerStatefulWidget {
const DesktopHomeView({Key? key}) : super(key: key);
static const String routeName = "/desktopHome";
@override
ConsumerState<DesktopHomeView> createState() => _DesktopHomeViewState();
}
class _DesktopHomeViewState extends ConsumerState<DesktopHomeView> {
@override
Widget build(BuildContext context) {
return Material(
color: CFColors.almostWhite,
child: Row(
children: [
const DesktopMenu(),
Expanded(child: ref.watch(homeContent)),
],
),
);
}
}