|
|
@ -1,6 +1,7 @@
|
|
|
|
import 'package:ansu_ui/ansu_ui.dart';
|
|
|
|
import 'package:ansu_ui/ansu_ui.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:get/get.dart';
|
|
|
|
|
|
|
|
|
|
|
|
///安速返回按钮
|
|
|
|
///安速返回按钮
|
|
|
|
///
|
|
|
|
///
|
|
|
@ -17,7 +18,7 @@ class ASBackButton extends StatelessWidget {
|
|
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Navigator.canPop(context)
|
|
|
|
return navigator.canPop()
|
|
|
|
? IconButton(
|
|
|
|
? IconButton(
|
|
|
|
icon: Icon(
|
|
|
|
icon: Icon(
|
|
|
|
CupertinoIcons.chevron_back,
|
|
|
|
CupertinoIcons.chevron_back,
|
|
|
|