- Rule-deleted snackbar now auto-dismisses (persist: false) and snackbar actions use a high-contrast colour in both themes - Add-rule dialog keeps the floating label visible with the keyboard up - Dismiss focus/keyboard before swapping tab routes - Repeater status: full-width tiles on phones, no shrink-to-fit values, multi-part stats on separate lines, drop "0 days" from durations - App bar titles respect the system font size instead of scaling down; contacts controls grow with text scale; larger nav labels - Fix duplicated flood value in Japanese duplicates string
15 lines
410 B
Dart
15 lines
410 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
/// App bar title that honors the system font size. Long titles are
|
|
/// ellipsized instead of being shrunk to fit.
|
|
class AdaptiveAppBarTitle extends StatelessWidget {
|
|
final String text;
|
|
|
|
const AdaptiveAppBarTitle(this.text, {super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Text(text, maxLines: 1, overflow: TextOverflow.ellipsis);
|
|
}
|
|
}
|