mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-08-25 20:59:40 +00:00
formatted all files.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_bloc/flutter_bloc.dart';
|
||||
import 'package:flutter_svg/flutter_svg.dart';
|
||||
import 'package:syncrow_web/pages/auth/model/user_model.dart';
|
||||
import 'package:syncrow_web/pages/home/bloc/home_bloc.dart';
|
||||
import 'package:syncrow_web/pages/home/bloc/home_state.dart';
|
||||
import 'package:syncrow_web/utils/color_manager.dart';
|
||||
@ -49,7 +50,7 @@ class DesktopAppBar extends StatelessWidget {
|
||||
final Widget? title;
|
||||
final Widget? centerBody;
|
||||
final Widget? rightBody;
|
||||
final dynamic user;
|
||||
final UserModel? user;
|
||||
|
||||
const DesktopAppBar({
|
||||
super.key,
|
||||
@ -75,7 +76,7 @@ class DesktopAppBar extends StatelessWidget {
|
||||
if (centerBody != null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(left: 80),
|
||||
child: centerBody!,
|
||||
child: centerBody,
|
||||
),
|
||||
],
|
||||
),
|
||||
@ -102,7 +103,7 @@ class TabletAppBar extends StatelessWidget {
|
||||
final Widget? title;
|
||||
final Widget? centerBody;
|
||||
final Widget? rightBody;
|
||||
final dynamic user;
|
||||
final UserModel? user;
|
||||
|
||||
const TabletAppBar({
|
||||
super.key,
|
||||
@ -149,7 +150,7 @@ class MobileAppBar extends StatelessWidget {
|
||||
final Widget? title;
|
||||
final Widget? centerBody;
|
||||
final Widget? rightBody;
|
||||
final dynamic user;
|
||||
final UserModel? user;
|
||||
|
||||
const MobileAppBar({
|
||||
super.key,
|
||||
@ -182,12 +183,12 @@ class MobileAppBar extends StatelessWidget {
|
||||
if (centerBody != null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: centerBody!,
|
||||
child: centerBody,
|
||||
),
|
||||
if (rightBody != null)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8),
|
||||
child: rightBody!,
|
||||
child: rightBody,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Reference in New Issue
Block a user