Fix admin icon UI and lockfile
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import 'dart:typed_data';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:file_picker/file_picker.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -67,7 +67,20 @@ class _TvDashboardScreenState extends State<TvDashboardScreen> {
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
const DigitalClockWidget(),
|
||||
const WeatherWidget()
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
const WeatherWidget(),
|
||||
const SizedBox(width: 16),
|
||||
IconButton(
|
||||
icon: const Icon(Icons.settings,
|
||||
color: Colors.white70),
|
||||
onPressed: () {
|
||||
Navigator.of(context).pushNamed('/admin');
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user