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