updated project style guidelines
This commit is contained in:
@ -8,7 +8,7 @@ class AppSharePlatformView extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Color foregroundColor = Theme.of(context).colorScheme.onBackground;
|
||||
var foregroundColor = Theme.of(context).colorScheme.onBackground;
|
||||
return Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
@ -11,8 +11,7 @@ class QrShareView extends StatefulWidget {
|
||||
|
||||
class _QrShareViewState extends State<QrShareView> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return DefaultTabController(
|
||||
Widget build(BuildContext context) => DefaultTabController(
|
||||
length: 2,
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
@ -32,5 +31,4 @@ class _QrShareViewState extends State<QrShareView> {
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -8,8 +8,7 @@ class SelectShareTypeDialog extends StatelessWidget {
|
||||
const SelectShareTypeDialog({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SimpleDialog(
|
||||
Widget build(BuildContext context) => SimpleDialog(
|
||||
children: [
|
||||
ListTile(
|
||||
leading: const Icon(Icons.qr_code_2_outlined),
|
||||
@ -36,5 +35,4 @@ class SelectShareTypeDialog extends StatelessWidget {
|
||||
)
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user