25 lines
686 B
Dart
25 lines
686 B
Dart
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(),
|
|
),
|
|
);
|
|
}
|
|
}
|