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

Merge branch '29-allow-additional-content-to-screenabout' into 'master'

Resolve "Allow additional content to ScreenAbout"

Closes #29

See merge request !30
parents 485b7c5f 9e8ae75b
No related branches found
No related tags found
1 merge request!30Resolve "Allow additional content to ScreenAbout"
Pipeline #7809 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