|
|
@@ -1,5 +1,5 @@
|
|
|
import '/backend/api_requests/api_calls.dart';
|
|
|
-import '/flutter_flow/flutter_flow_icon_button.dart';
|
|
|
+import '/components/header_buttons_component_widget.dart';
|
|
|
import '/flutter_flow/flutter_flow_theme.dart';
|
|
|
import '/flutter_flow/flutter_flow_util.dart';
|
|
|
import '/flutter_flow/flutter_flow_widgets.dart';
|
|
|
@@ -150,72 +150,15 @@ class _HorecagelegenhedenOverzichtPageDataTypeWidgetState
|
|
|
automaticallyImplyLeading: false,
|
|
|
actions: [],
|
|
|
flexibleSpace: FlexibleSpaceBar(
|
|
|
- title: Align(
|
|
|
- alignment: AlignmentDirectional(0.0, 0.0),
|
|
|
- child: Row(
|
|
|
- mainAxisSize: MainAxisSize.max,
|
|
|
- children: [
|
|
|
- FlutterFlowIconButton(
|
|
|
- borderRadius: 8.0,
|
|
|
- buttonSize: 40.0,
|
|
|
- fillColor: Color(0xFFB50808),
|
|
|
- icon: Icon(
|
|
|
- Icons.dehaze_outlined,
|
|
|
- color: FlutterFlowTheme.of(context).info,
|
|
|
- size: 24.0,
|
|
|
- ),
|
|
|
- onPressed: () async {
|
|
|
- scaffoldKey.currentState!.openDrawer();
|
|
|
- },
|
|
|
- ),
|
|
|
- Padding(
|
|
|
- padding:
|
|
|
- EdgeInsetsDirectional.fromSTEB(4.0, 0.0, 0.0, 0.0),
|
|
|
- child: FlutterFlowIconButton(
|
|
|
- borderColor: Color(0x00FF0000),
|
|
|
- borderRadius: 30.0,
|
|
|
- borderWidth: 1.0,
|
|
|
- buttonSize: 50.0,
|
|
|
- fillColor: Color(0xFFB50808),
|
|
|
- icon: Icon(
|
|
|
- Icons.arrow_back_outlined,
|
|
|
- color: Colors.white,
|
|
|
- size: 30.0,
|
|
|
- ),
|
|
|
- onPressed: () async {
|
|
|
- context.pop();
|
|
|
- },
|
|
|
- ),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
- ),
|
|
|
- background: Align(
|
|
|
- alignment: AlignmentDirectional(0.0, 0.0),
|
|
|
- child: Padding(
|
|
|
- padding: EdgeInsetsDirectional.fromSTEB(60.0, 0.0, 5.0, 0.0),
|
|
|
- child: ClipRRect(
|
|
|
- borderRadius: BorderRadius.circular(8.0),
|
|
|
- child: Image.asset(
|
|
|
- 'assets/images/logo800px.png',
|
|
|
- width: () {
|
|
|
- if (MediaQuery.sizeOf(context).width <
|
|
|
- kBreakpointSmall) {
|
|
|
- return 150.0;
|
|
|
- } else if (MediaQuery.sizeOf(context).width <
|
|
|
- kBreakpointMedium) {
|
|
|
- return 225.0;
|
|
|
- } else if (MediaQuery.sizeOf(context).width <
|
|
|
- kBreakpointLarge) {
|
|
|
- return 350.0;
|
|
|
- } else {
|
|
|
- return 400.0;
|
|
|
- }
|
|
|
- }(),
|
|
|
- fit: BoxFit.fitWidth,
|
|
|
- ),
|
|
|
- ),
|
|
|
- ),
|
|
|
+ background: wrapWithModel(
|
|
|
+ model: _model.headerButtonsComponentModel,
|
|
|
+ updateCallback: () => safeSetState(() {}),
|
|
|
+ child: Builder(builder: (_) {
|
|
|
+ return DebugFlutterFlowModelContext(
|
|
|
+ rootModel: _model.rootModel,
|
|
|
+ child: HeaderButtonsComponentWidget(),
|
|
|
+ );
|
|
|
+ }),
|
|
|
),
|
|
|
centerTitle: true,
|
|
|
expandedTitleScale: 1.0,
|