feat: remove unused import and clean up emergency contact info banner widget
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
import 'package:design_system/design_system.dart';
|
import 'package:design_system/design_system.dart';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../ui_constants.dart';
|
|
||||||
|
|
||||||
/// A customizable notice banner widget for displaying informational messages.
|
/// A customizable notice banner widget for displaying informational messages.
|
||||||
///
|
///
|
||||||
/// [UiNoticeBanner] displays a message with an optional icon and supports
|
/// [UiNoticeBanner] displays a message with an optional icon and supports
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ class EmergencyContactInfoBanner extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return UiNoticeBanner(
|
return UiNoticeBanner(
|
||||||
title:
|
icon: UiIcons.warning,
|
||||||
|
title: 'Emergency Contact Information',
|
||||||
|
description:
|
||||||
'Please provide at least one emergency contact. This information will only be used in case of an emergency during your shifts.',
|
'Please provide at least one emergency contact. This information will only be used in case of an emergency during your shifts.',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user