misc
This commit is contained in:
parent
b20a112eb2
commit
5e5d92a510
@ -182,7 +182,7 @@ class _MapBoxViewState extends State<MapBoxView> {
|
||||
},
|
||||
onTapListener: (listener) {
|
||||
// close on tap
|
||||
mapContext.setSelectedPoint(null);
|
||||
//mapContext.setSelectedPoint(null);
|
||||
mapContext.setSelectedPointForNavigate(null);
|
||||
},
|
||||
cameraOptions: mapBox.CameraOptions(
|
||||
|
||||
@ -48,8 +48,8 @@ class _SliderPage extends State<SliderPage> {
|
||||
Widget build(BuildContext context) {
|
||||
Size size = MediaQuery.of(context).size;
|
||||
final appContext = Provider.of<AppContext>(context);
|
||||
VisitAppContext visitAppContex = appContext.getContext() as VisitAppContext;
|
||||
Color? primaryColor = visitAppContex.configuration!.primaryColor != null ? Color(int.parse(visitAppContex.configuration!.primaryColor!.split('(0x')[1].split(')')[0], radix: 16)) : null;
|
||||
VisitAppContext visitAppContext = appContext.getContext() as VisitAppContext;
|
||||
Color? primaryColor = visitAppContext.configuration!.primaryColor != null ? Color(int.parse(visitAppContext.configuration!.primaryColor!.split('(0x')[1].split(')')[0], radix: 16)) : null;
|
||||
|
||||
configurationDTO = appContext.getContext().configuration;
|
||||
|
||||
@ -83,7 +83,7 @@ class _SliderPage extends State<SliderPage> {
|
||||
decoration: BoxDecoration(
|
||||
color: kBackgroundGrey,
|
||||
//color: configurationDTO.imageId == null ? configurationDTO.secondaryColor != null ? new Color(int.parse(configurationDTO.secondaryColor!.split('(0x')[1].split(')')[0], radix: 16)): kBackgroundGrey : null,
|
||||
borderRadius: BorderRadius.circular(visitAppContex.configuration!.roundedValue?.toDouble() ?? 10.0),
|
||||
borderRadius: BorderRadius.circular(visitAppContext.configuration!.roundedValue?.toDouble() ?? 10.0),
|
||||
//border: Border.all(width: 0.3, color: kSecondGrey),
|
||||
),
|
||||
child: Column(
|
||||
@ -142,7 +142,7 @@ class _SliderPage extends State<SliderPage> {
|
||||
decoration: BoxDecoration(
|
||||
color: kBackgroundLight,// kBackgroundLight,
|
||||
shape: BoxShape.rectangle,
|
||||
borderRadius: BorderRadius.circular(visitAppContex.configuration!.roundedValue?.toDouble() ?? 10.0),
|
||||
borderRadius: BorderRadius.circular(visitAppContext.configuration!.roundedValue?.toDouble() ?? 10.0),
|
||||
boxShadow: const [
|
||||
BoxShadow(
|
||||
color: kBackgroundSecondGrey,
|
||||
|
||||
@ -51,6 +51,8 @@ class _BodyState extends State<Body> {
|
||||
VisitAppContext visitAppContext = appContext.getContext();
|
||||
Size size = MediaQuery.of(context).size;
|
||||
|
||||
Color? primaryColor = widget.configuration.primaryColor != null ? Color(int.parse(widget.configuration.primaryColor!.split('(0x')[1].split(')')[0], radix: 16)) : null;
|
||||
|
||||
return SafeArea(
|
||||
bottom: false,
|
||||
top: false,
|
||||
@ -122,8 +124,8 @@ class _BodyState extends State<Body> {
|
||||
//});
|
||||
},
|
||||
child: Container(
|
||||
decoration: const BoxDecoration(
|
||||
color: kMainColor,
|
||||
decoration: BoxDecoration(
|
||||
color: primaryColor,
|
||||
shape: BoxShape.circle,
|
||||
),
|
||||
child: const Icon(Icons.arrow_back, size: 23, color: Colors.white)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user