新ui调整
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:encrypt/encrypt.dart';
|
||||
import 'package:flutter/material.dart' as ui;
|
||||
|
||||
class LoginUtil {
|
||||
static final _keyString = '915eae87951a448c86c47796e44c1fcf';
|
||||
@@ -26,5 +27,9 @@ class LoginUtil {
|
||||
final decrypted = _encrypter.decrypt(encrypted);
|
||||
return decrypted;
|
||||
}
|
||||
|
||||
static ui.Image getAssImg(String imgName){
|
||||
return ui.Image(image: ui.AssetImage('assets/images/$imgName.png'));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user