fixed weird warnings
This commit is contained in:
@@ -2,7 +2,7 @@ import 'package:filcnaplo_mobile_ui/common/bottom_sheet_menu/rounded_bottom_shee
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class BottomSheetMenu extends StatelessWidget {
|
||||
const BottomSheetMenu({Key? key, this.items = const []}) : super(key: key);
|
||||
const BottomSheetMenu({super.key, this.items = const []});
|
||||
|
||||
final List<Widget> items;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import 'package:filcnaplo_mobile_ui/common/panel/panel_button.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class BottomSheetMenuItem extends StatelessWidget {
|
||||
const BottomSheetMenuItem({Key? key, required this.onPressed, required this.title, this.icon}) : super(key: key);
|
||||
const BottomSheetMenuItem({super.key, required this.onPressed, required this.title, this.icon});
|
||||
|
||||
final void Function()? onPressed;
|
||||
final Widget? title;
|
||||
|
||||
Reference in New Issue
Block a user