添加文件
BIN
circle_app/assets/images/base/bg.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
10
circle_app/lib/app/login/complete_material/binding.dart
Normal file
@ -0,0 +1,10 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'logic.dart';
|
||||
|
||||
class Complete_materialBinding extends Bindings {
|
||||
@override
|
||||
void dependencies() {
|
||||
Get.lazyPut(() => Complete_materialLogic());
|
||||
}
|
||||
}
|
||||
7
circle_app/lib/app/login/complete_material/logic.dart
Normal file
@ -0,0 +1,7 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'state.dart';
|
||||
|
||||
class Complete_materialLogic extends GetxController {
|
||||
final Complete_materialState state = Complete_materialState();
|
||||
}
|
||||
5
circle_app/lib/app/login/complete_material/state.dart
Normal file
@ -0,0 +1,5 @@
|
||||
class Complete_materialState {
|
||||
Complete_materialState() {
|
||||
///Initialize variables
|
||||
}
|
||||
}
|
||||
20
circle_app/lib/app/login/complete_material/view.dart
Normal file
@ -0,0 +1,20 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'logic.dart';
|
||||
|
||||
class Complete_materialPage extends StatelessWidget {
|
||||
Complete_materialPage({Key? key}) : super(key: key);
|
||||
|
||||
final logic = Get.find<Complete_materialLogic>();
|
||||
final state = Get.find<Complete_materialLogic>().state;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Stack(
|
||||
children: [
|
||||
Image.asset('Values')
|
||||
],
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,9 @@
|
||||
const String images = 'assets/images/';
|
||||
const String login_images = 'assets/images/login';
|
||||
const String navigator_images = 'assets/images/navigator';
|
||||
const String tabbar_images = 'assets/images/tabbar';
|
||||
abstract class Values {
|
||||
static const String images = 'assets/images/';
|
||||
static const String base_images = 'assets/images/base';
|
||||
static const String login_images = 'assets/images/login';
|
||||
static const String navigator_images = 'assets/images/navigator';
|
||||
static const String tabbar_images = 'assets/images/tabbar';
|
||||
|
||||
|
||||
}
|
||||
|
||||
7
circle_app/lib/util/util.dart
Normal file
@ -0,0 +1,7 @@
|
||||
import 'package:circle_app/common/values/values.dart';
|
||||
|
||||
class Util {
|
||||
String getBaseImage(String image) {
|
||||
return Values.base_images + image + 'png';
|
||||
}
|
||||
}
|
||||