remove home border and use new icons
This commit is contained in:
@@ -28,7 +28,6 @@ import '../../mih_components/mih_pop_up_messages/mih_loading_circle.dart';
|
||||
import '../../mih_components/mih_pop_up_messages/mih_notification_message.dart';
|
||||
import '../../mih_components/mih_pop_up_messages/mih_success_message.dart';
|
||||
import '../../mih_components/mih_pop_up_messages/mih_warning_message.dart';
|
||||
import '../../mih_components/mih_profile_picture.dart';
|
||||
import '../../mih_env/env.dart';
|
||||
import '../../mih_objects/app_user.dart';
|
||||
import '../../mih_objects/arguments.dart';
|
||||
@@ -985,18 +984,18 @@ class _MIHHomeLegacyState extends State<MIHHomeLegacy> {
|
||||
return Builder(builder: (context) {
|
||||
return MIHAction(
|
||||
icon: Padding(
|
||||
padding: const EdgeInsets.only(left: 5.0),
|
||||
child: MIHProfilePicture(
|
||||
profilePictureFile: widget.propicFile,
|
||||
proPicController: proPicController,
|
||||
proPic: null,
|
||||
width: 45,
|
||||
radius: 21,
|
||||
drawerMode: false,
|
||||
editable: false,
|
||||
frameColor: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
onChange: (newProPic) {},
|
||||
),
|
||||
padding: const EdgeInsets.only(left: 5.0), child: Placeholder(),
|
||||
// MIHProfilePicture(
|
||||
// profilePictureFile: widget.propicFile,
|
||||
// proPicController: proPicController,
|
||||
// proPic: null,
|
||||
// width: 45,
|
||||
// radius: 21,
|
||||
// drawerMode: false,
|
||||
// editable: false,
|
||||
// frameColor: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
// onChange: (newProPic) {},
|
||||
// ),
|
||||
),
|
||||
// const Icon(Icons.apps),
|
||||
iconSize: 45,
|
||||
|
||||
@@ -190,7 +190,7 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
|
||||
final double width = size.width;
|
||||
final double height = size.height;
|
||||
return MihAppToolBody(
|
||||
borderOn: true,
|
||||
borderOn: false,
|
||||
bodyItem: getBody(width, height),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -157,12 +157,9 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
|
||||
);
|
||||
},
|
||||
appName: "Test",
|
||||
appIcon: Container(
|
||||
padding: const EdgeInsets.all(0.5),
|
||||
child: Icon(
|
||||
Icons.warning_amber_rounded,
|
||||
color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
|
||||
),
|
||||
appIcon: Icon(
|
||||
Icons.warning_amber_rounded,
|
||||
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
iconSize: packageSize,
|
||||
primaryColor: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
@@ -238,7 +235,7 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
|
||||
final double height = size.height;
|
||||
|
||||
return MihAppToolBody(
|
||||
borderOn: true,
|
||||
borderOn: false,
|
||||
bodyItem: getBody(width, height),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -9,10 +9,10 @@ import 'package:mzansi_innovation_hub/mih_components/mih_inputs_and_buttons/mih_
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_inputs_and_buttons/mih_text_input.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_layout/mih_single_child_scroll.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih-app_tool_body.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_package_components/mih_circle_avatar.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_pop_up_messages/mih_error_message.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_pop_up_messages/mih_loading_circle.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_pop_up_messages/mih_success_message.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_components/mih_profile_picture.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_env/env.dart';
|
||||
import 'package:mzansi_innovation_hub/mih_objects/arguments.dart';
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
@@ -350,13 +350,11 @@ class _MihBusinessProfileState extends State<MihBusinessProfile> {
|
||||
?.theme
|
||||
.secondaryColor()),
|
||||
const SizedBox(height: 10.0),
|
||||
MIHProfilePicture(
|
||||
profilePictureFile: logoPreview,
|
||||
proPicController: logonameController,
|
||||
proPic: logoFile,
|
||||
MihCircleAvatar(
|
||||
imageFile: logoPreview,
|
||||
fileNameController: logonameController,
|
||||
userSelectedfile: logoFile,
|
||||
width: 155,
|
||||
radius: 70,
|
||||
drawerMode: false,
|
||||
editable: true,
|
||||
frameColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
@@ -366,6 +364,8 @@ class _MihBusinessProfileState extends State<MihBusinessProfile> {
|
||||
});
|
||||
print("logoFile: ${logoFile?.bytes}");
|
||||
},
|
||||
backgroundColor:
|
||||
MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
),
|
||||
const SizedBox(height: 10.0),
|
||||
MIHFileField(
|
||||
|
||||
Reference in New Issue
Block a user