mirror of
https://github.com/simon-ding/polaris.git
synced 2026-02-06 23:21:00 +08:00
fix
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class NavDrawer extends StatelessWidget {
|
||||
const NavDrawer({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Drawer(
|
||||
@@ -8,28 +10,28 @@ class NavDrawer extends StatelessWidget {
|
||||
padding: EdgeInsets.zero,
|
||||
children: <Widget>[
|
||||
ListTile(
|
||||
leading: Icon(Icons.input),
|
||||
title: Text('Welcome'),
|
||||
leading: const Icon(Icons.input),
|
||||
title: const Text('Welcome'),
|
||||
onTap: () => {},
|
||||
),
|
||||
ListTile(
|
||||
leading: Icon(Icons.verified_user),
|
||||
title: Text('Profile'),
|
||||
leading: const Icon(Icons.verified_user),
|
||||
title: const Text('Profile'),
|
||||
onTap: () => {Navigator.of(context).pop()},
|
||||
),
|
||||
ListTile(
|
||||
leading: Icon(Icons.settings),
|
||||
title: Text('Settings'),
|
||||
leading: const Icon(Icons.settings),
|
||||
title: const Text('Settings'),
|
||||
onTap: () => {Navigator.of(context).pop()},
|
||||
),
|
||||
ListTile(
|
||||
leading: Icon(Icons.border_color),
|
||||
title: Text('Feedback'),
|
||||
leading: const Icon(Icons.border_color),
|
||||
title: const Text('Feedback'),
|
||||
onTap: () => {Navigator.of(context).pop()},
|
||||
),
|
||||
ListTile(
|
||||
leading: Icon(Icons.exit_to_app),
|
||||
title: Text('Logout'),
|
||||
leading: const Icon(Icons.exit_to_app),
|
||||
title: const Text('Logout'),
|
||||
onTap: () => {Navigator.of(context).pop()},
|
||||
),
|
||||
],
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import 'dart:convert';
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:dio/dio.dart';
|
||||
|
||||
Reference in New Issue
Block a user