Skip to content
Snippets Groups Projects
Commit 9e8ae75b authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Allow additional content on ScreenAbout page

parent 485b7c5f
1 merge request!30Resolve "Allow additional content to ScreenAbout"
Pipeline #7808 passed
## 1.0.6
- Allow additional content in about page
## 1.0.5
- Add bottom margin in parameters/start page
......
......@@ -2,7 +2,12 @@ import 'package:flutter/material.dart';
import 'package:flutter_custom_toolbox/flutter_toolbox.dart';
class ScreenAbout extends StatelessWidget {
const ScreenAbout({super.key});
const ScreenAbout({
super.key,
this.additionalContent,
});
final Widget? additionalContent;
@override
Widget build(BuildContext context) {
......@@ -31,6 +36,7 @@ class ScreenAbout extends StatelessWidget {
}
},
),
additionalContent ?? SizedBox.shrink(),
],
),
);
......
......@@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects."
publish_to: https://pub.harrault.fr/
version: 1.0.5
version: 1.0.6
homepage: https://git.harrault.fr/android/flutter-toolbox
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment