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
No related branches found
No related tags found
1 merge request!30Resolve "Allow additional content to ScreenAbout"
Pipeline #7808 passed
This commit is part of merge request !30. Comments created here will be created in the context of that merge request.
## 1.0.6
- Allow additional content in about page
## 1.0.5 ## 1.0.5
- Add bottom margin in parameters/start page - Add bottom margin in parameters/start page
......
...@@ -2,7 +2,12 @@ import 'package:flutter/material.dart'; ...@@ -2,7 +2,12 @@ import 'package:flutter/material.dart';
import 'package:flutter_custom_toolbox/flutter_toolbox.dart'; import 'package:flutter_custom_toolbox/flutter_toolbox.dart';
class ScreenAbout extends StatelessWidget { class ScreenAbout extends StatelessWidget {
const ScreenAbout({super.key}); const ScreenAbout({
super.key,
this.additionalContent,
});
final Widget? additionalContent;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
...@@ -31,6 +36,7 @@ class ScreenAbout extends StatelessWidget { ...@@ -31,6 +36,7 @@ class ScreenAbout extends StatelessWidget {
} }
}, },
), ),
additionalContent ?? SizedBox.shrink(),
], ],
), ),
); );
......
...@@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects." ...@@ -3,7 +3,7 @@ description: "Flutter custom toolbox for org.benoitharrault.* projects."
publish_to: https://pub.harrault.fr/ publish_to: https://pub.harrault.fr/
version: 1.0.5 version: 1.0.6
homepage: https://git.harrault.fr/android/flutter-toolbox 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