fix: remove useless comments
This commit is contained in:
@@ -199,9 +199,6 @@ class _BarScreenViewState extends State<BarScreenView> {
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Product grid
|
||||
// ---------------------------------------------------------------------------
|
||||
class _ProductGrid extends StatelessWidget {
|
||||
final List<Product> products;
|
||||
final int rows;
|
||||
@@ -353,10 +350,6 @@ class _ProductGrid extends StatelessWidget {
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Tab panel
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
class _TabPanel extends StatefulWidget {
|
||||
final List<BarTab> tabs;
|
||||
final BarTab? selectedTab;
|
||||
@@ -408,9 +401,6 @@ class _TabPanelState extends State<_TabPanel> {
|
||||
}).toList();
|
||||
|
||||
return DecoratedBox(
|
||||
// A step darker/lighter than the main surface, whichever direction
|
||||
// the active theme goes — matches how it read against the dark
|
||||
// surface color originally.
|
||||
decoration: BoxDecoration(color: scheme.surfaceContainerLow),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
@@ -457,37 +447,6 @@ class _TabPanelState extends State<_TabPanel> {
|
||||
],
|
||||
),
|
||||
|
||||
//
|
||||
// const SizedBox(height: 18),
|
||||
//
|
||||
// Row(
|
||||
// children: [
|
||||
// Text(
|
||||
// l10n.openTabs.toUpperCase(),
|
||||
// style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||
// fontWeight: FontWeight.w700,
|
||||
// letterSpacing: 0.8,
|
||||
// ),
|
||||
// ),
|
||||
// const SizedBox(width: 8),
|
||||
// Container(
|
||||
// padding: const EdgeInsets.symmetric(
|
||||
// horizontal: 8,
|
||||
// vertical: 2,
|
||||
// ),
|
||||
// decoration: BoxDecoration(
|
||||
// color: scheme.onSurface.withValues(alpha: 0.06),
|
||||
// borderRadius: BorderRadius.circular(999),
|
||||
// ),
|
||||
// child: Text(
|
||||
// '${filteredTabs.length}',
|
||||
// style: Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||
// fontWeight: FontWeight.w700,
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ],
|
||||
// ),
|
||||
const SizedBox(height: 8),
|
||||
|
||||
SizedBox(
|
||||
|
||||
Reference in New Issue
Block a user