|
|
@ -1,4 +1,5 @@
|
|
|
|
// Flutter imports:
|
|
|
|
// Flutter imports:
|
|
|
|
|
|
|
|
import 'package:akuCommunity/utils/login_util.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/cupertino.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
|
@ -33,7 +34,12 @@ class _AllApplicationPageState extends State<AllApplicationPage> {
|
|
|
|
return MaterialButton(
|
|
|
|
return MaterialButton(
|
|
|
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.w)),
|
|
|
|
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(8.w)),
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
onPressed: editMode ? null : () => Get.to(object.page),
|
|
|
|
onPressed: editMode
|
|
|
|
|
|
|
|
? null
|
|
|
|
|
|
|
|
: () {
|
|
|
|
|
|
|
|
if (LoginUtil.isNotLogin) return;
|
|
|
|
|
|
|
|
Get.to(object.page);
|
|
|
|
|
|
|
|
},
|
|
|
|
child: Column(
|
|
|
|
child: Column(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|