noNetworkConnectionSnackBar.dart Error
TheAmanM opened this issue · comments
TheAmanM commented
noNetworkConnectionSnackBar.dart
currently contains the following code:
import 'package:exerlog/UI/global.dart';
import 'package:flutter/material.dart';
SnackBar noNetworkConnectionSnackBar() => SnackBar(
backgroundColor: redBackgroundColor,
duration: Duration(
days:
365), // set to a year so that it doesn't disappear automatically untill the user clicks on the Dismiss button
content: Text('No network connection, please check your connection'),
action: SnackBarAction(
textColor: textColorBlue,
label: 'Dismiss',
onPressed: () {},
),
);
redBackgroundColor
and textColorBlue
do not exist in global.dart
Marcin Federowicz commented
ramsy0dev commented
sorry i forgot to do a push to my global.dart that contains the textColorBlue and redBackgroundColor values the issue well get fixed in #117
TheAmanM commented
Understood, thank you! Should I close this issue?
ramsy0dev commented