feat:参照研听的基础工程
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import 'package:fancy_dio_inspector/fancy_dio_inspector.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class FancyDioInspectorPage extends StatelessWidget {
|
||||
const FancyDioInspectorPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ScaffoldMessenger(
|
||||
child: Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text('请求'),
|
||||
leading: Navigator.of(context).canPop()
|
||||
? IconButton(
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
icon: const Icon(Icons.chevron_left),
|
||||
)
|
||||
: null,
|
||||
),
|
||||
body: const FancyDioInspectorView(),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user