Commit 5c81897
Changed files (2)
lib
components
dialoges
test
lib/components/dialoges/fullscreen_dialoge.dart
@@ -25,7 +25,7 @@ class FullscreenDialoge extends StatelessWidget {
///
/// Usually `localizations.btnSave`
///
- /// Setting the text to null will remove the button.
+ /// Setting the text to null will hide the button entirely.
final String? actionButtonText;
/// Action on press of the button.
test/model/json_serialization_test.dart
@@ -92,6 +92,7 @@ void main() {
startWithAddMeasurementPage: false,
useLegacyList: false,
horizontalGraphLines: [HorizontalGraphLine(Colors.blue, 1230)],
+ bottomAppBars: true
);
final fromJson = Settings.fromJson(initial.toJson());
@@ -117,6 +118,7 @@ void main() {
expect(initial.horizontalGraphLines.first.color.value, fromJson.horizontalGraphLines.first.color.value);
expect(initial.horizontalGraphLines.first.height, fromJson.horizontalGraphLines.first.height);
expect(initial.needlePinBarWidth, fromJson.needlePinBarWidth);
+ expect(initial.bottomAppBars, fromJson.bottomAppBars);
expect(initial.toJson(), fromJson.toJson());
});