fix: 图片提交4x,提示画质。iOS logo提交;
This commit is contained in:
1 parent
2f1ec27802
commit
9e10608245
85 files changed
+1027
-645
No files matched your search
@@ -5,7 +5,7 @@ import 'package:shared_preferences/shared_preferences.dart';
|
||||
// 用法: AppSp().setString("key", "value");
|
||||
class AppSp {
|
||||
static SharedPreferences? _instance;
|
||||
static final String _basePrefix = "omiyo.";
|
||||
static final String _basePrefix = "app.";
|
||||
static Future<SharedPreferences>? _instanceFuture;
|
||||
|
||||
static Future<SharedPreferences> getInstance() {
|
||||
|
||||
@@ -17,6 +17,14 @@ class ConstImg {
|
||||
static const String tabMineUnselect = "assets/common/tab_mine_unselect.png";
|
||||
// loading
|
||||
static const String loading = "assets/common/loading.gif";
|
||||
static const String btnBg = "assets/common/btn_bg.png";
|
||||
static const String noData = "assets/common/no_data.png";
|
||||
static const String nodataImg = "assets/common/nodata_img.png";
|
||||
static const String noworkImg = "assets/common/nowork_img.png";
|
||||
// applogo
|
||||
static const String appLogo = "assets/common/applogo.png";
|
||||
|
||||
|
||||
static const String homeBg = "assets/imgs/home_bg.png";
|
||||
|
||||
// home_card_bg
|
||||
@@ -91,10 +99,9 @@ class ConstImg {
|
||||
static const String mineAb = "assets/mine/mine_ab.png";
|
||||
static const String minePp = "assets/mine/mine_pp.png";
|
||||
static const String mineUa = "assets/mine/mine_ua.png";
|
||||
static const String collection = "assets/mine/collection.png";
|
||||
|
||||
|
||||
// nodata
|
||||
static const String noData = "assets/images/nodata.png";
|
||||
|
||||
static const String loadingJson = "assets/bagua.json";
|
||||
// static get appLoading => Lottie.asset(loadingJson, width: 60, height: 60);
|
||||
@@ -180,15 +187,18 @@ class HelpImg {
|
||||
fit: fit,
|
||||
loadingBuilder: (context, child, loadingProgress) {
|
||||
if (loadingProgress == null) return child;
|
||||
return Center(
|
||||
//CircularProgressIndicator
|
||||
child: Container(
|
||||
width: 50,
|
||||
height: 50,
|
||||
padding: const EdgeInsets.all(5),
|
||||
child: CircularProgressIndicator(
|
||||
color: Colors.white,
|
||||
strokeWidth: 2,
|
||||
return SizedBox(
|
||||
width: width, height: height,
|
||||
child: Center(
|
||||
//CircularProgressIndicator
|
||||
child: Container(
|
||||
width: 30,
|
||||
height: 30,
|
||||
padding: const EdgeInsets.all(5),
|
||||
child: CircularProgressIndicator(
|
||||
color: Colors.white,
|
||||
strokeWidth: 1,
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user