- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
23 lines
526 B
Dart
23 lines
526 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// Attribution widget for displaying map attribution text
|
|
class AttributionPluginWidget extends StatelessWidget {
|
|
|
|
const AttributionPluginWidget({super.key, this.text = ''});
|
|
final String text;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
const TextStyle style = TextStyle(
|
|
fontSize: 12.0,
|
|
color: Colors.white,
|
|
);
|
|
return Padding(
|
|
padding: const EdgeInsets.all(5.0),
|
|
child: Text(
|
|
text,
|
|
style: style,
|
|
),
|
|
);
|
|
}
|
|
}
|