add alot
This commit is contained in:
@@ -118,7 +118,7 @@ class _HistoryScreenViewState extends State<HistoryScreenView> with RouteAware {
|
||||
: ListView.separated(
|
||||
padding: const EdgeInsets.fromLTRB(20, 8, 20, 20),
|
||||
itemCount: viewModel.closedTabs.length,
|
||||
separatorBuilder: (_, __) => const SizedBox(height: 10),
|
||||
separatorBuilder: (_, _) => const SizedBox(height: 10),
|
||||
itemBuilder: (context, index) {
|
||||
final closedTab = viewModel.closedTabs[index];
|
||||
|
||||
@@ -147,12 +147,12 @@ class _EmptyState extends StatelessWidget {
|
||||
padding: const EdgeInsets.all(20),
|
||||
decoration: BoxDecoration(
|
||||
shape: BoxShape.circle,
|
||||
color: scheme.onSurface.withOpacity(0.05),
|
||||
color: scheme.onSurface.withValues(alpha: 0.05),
|
||||
),
|
||||
child: Icon(
|
||||
Icons.history_rounded,
|
||||
size: 40,
|
||||
color: scheme.onSurface.withOpacity(0.3),
|
||||
color: scheme.onSurface.withValues(alpha: 0.3),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
@@ -191,9 +191,9 @@ class _ClosedTabCardState extends State<_ClosedTabCard> {
|
||||
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: scheme.onSurface.withOpacity(0.04),
|
||||
color: scheme.onSurface.withValues(alpha: 0.04),
|
||||
borderRadius: BorderRadius.circular(14),
|
||||
border: Border.all(color: scheme.onSurface.withOpacity(0.06)),
|
||||
border: Border.all(color: scheme.onSurface.withValues(alpha: 0.06)),
|
||||
),
|
||||
clipBehavior: Clip.antiAlias,
|
||||
child: Material(
|
||||
@@ -249,7 +249,7 @@ class _ClosedTabCardState extends State<_ClosedTabCard> {
|
||||
_expanded
|
||||
? Icons.expand_less_rounded
|
||||
: Icons.expand_more_rounded,
|
||||
color: scheme.onSurface.withOpacity(0.5),
|
||||
color: scheme.onSurface.withValues(alpha: 0.5),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user