WIP
This commit is contained in:
parent
f0f3883589
commit
f4c20c26a3
|
@ -307,28 +307,20 @@ class NotificationService {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log('default');
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
log("onActionReceivedMethod");
|
|
||||||
// showAlertDialog(AppState().context!, 'Test', 'Test', () async {});
|
// showAlertDialog(AppState().context!, 'Test', 'Test', () async {});
|
||||||
}
|
}
|
||||||
|
|
||||||
static Future<void> onNotificationCreatedMethod(
|
static Future<void> onNotificationCreatedMethod(
|
||||||
ReceivedNotification receivedNotification) async {
|
ReceivedNotification receivedNotification) async {}
|
||||||
log('onNotificationCreatedMethod');
|
|
||||||
}
|
|
||||||
|
|
||||||
static Future<void> onNotificationDisplayedMethod(
|
static Future<void> onNotificationDisplayedMethod(
|
||||||
ReceivedNotification receivedNotification) async {
|
ReceivedNotification receivedNotification) async {}
|
||||||
log('onNotificationDisplayedMethod');
|
|
||||||
}
|
|
||||||
|
|
||||||
static Future<void> onDismissActionReceivedMethod(
|
static Future<void> onDismissActionReceivedMethod(
|
||||||
ReceivedAction receivedAction) async {
|
ReceivedAction receivedAction) async {}
|
||||||
log('onDismissActionReceivedMethod');
|
|
||||||
}
|
|
||||||
|
|
||||||
static Future<void> show({
|
static Future<void> show({
|
||||||
required final String title,
|
required final String title,
|
||||||
|
|
|
@ -106,6 +106,8 @@ class _MenuButtonWidgetState extends State<MenuButtonWidget> {
|
||||||
child: Text(
|
child: Text(
|
||||||
widget.title ?? '',
|
widget.title ?? '',
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
|
maxLines: 2, // Add this line
|
||||||
|
softWrap: false, // Add this line
|
||||||
style: FlutterFlowTheme.of(context).titleLarge.override(
|
style: FlutterFlowTheme.of(context).titleLarge.override(
|
||||||
fontFamily: 'Nunito',
|
fontFamily: 'Nunito',
|
||||||
color: FlutterFlowTheme.of(context).primaryText,
|
color: FlutterFlowTheme.of(context).primaryText,
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
import 'dart:developer';
|
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:hub/components/organism_components/menu_staggered_view_component/menu_staggered_view_component_model.dart';
|
import 'package:hub/components/organism_components/menu_staggered_view_component/menu_staggered_view_component_model.dart';
|
||||||
import 'package:hub/flutter_flow/nav/nav.dart';
|
import 'package:hub/flutter_flow/nav/nav.dart';
|
||||||
|
@ -44,7 +42,6 @@ class MenuComponentModel extends FlutterFlowModel<MenuComponentWidget> {
|
||||||
Future scheduleVisitOptAction(BuildContext context) async {
|
Future scheduleVisitOptAction(BuildContext context) async {
|
||||||
final isWpp = AppState().whatsapp;
|
final isWpp = AppState().whatsapp;
|
||||||
final isProvisional = AppState().provisional;
|
final isProvisional = AppState().provisional;
|
||||||
log("isWpp ${isWpp ? 1 : 0}");
|
|
||||||
|
|
||||||
final routesListStr = <String>[
|
final routesListStr = <String>[
|
||||||
'scheduleCompleteVisitPage',
|
'scheduleCompleteVisitPage',
|
||||||
|
|
|
@ -402,18 +402,20 @@ class _HomePageWidgetState extends State<HomePageWidget> {
|
||||||
.bodyLarge
|
.bodyLarge
|
||||||
.override(
|
.override(
|
||||||
fontFamily: 'Nunito Sans',
|
fontFamily: 'Nunito Sans',
|
||||||
color: FlutterFlowTheme.of(context)
|
color:
|
||||||
|
FlutterFlowTheme.of(context)
|
||||||
.primaryText,
|
.primaryText,
|
||||||
fontSize: 14.0,
|
fontSize: 14.0,
|
||||||
letterSpacing: 0.0,
|
letterSpacing: 0.0,
|
||||||
fontWeight: FontWeight.normal,
|
fontWeight: FontWeight.normal,
|
||||||
useGoogleFonts: GoogleFonts.asMap()
|
useGoogleFonts:
|
||||||
.containsKey('Nunito Sans'),
|
GoogleFonts.asMap()
|
||||||
|
.containsKey(
|
||||||
|
'Nunito Sans'),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
].divide(const SizedBox(width: 20.0)),
|
]),
|
||||||
),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue