You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
402 B
14 lines
402 B
11 months ago
|
|
||
|
import 'package:flutter/cupertino.dart';
|
||
|
import 'package:flutter/material.dart';
|
||
|
import 'package:get/get.dart';
|
||
|
import 'package:music_player_miao/view/begin/begin_view.dart';
|
||
|
class SplashViewModel extends GetxController{
|
||
|
var scaffoldKey = GlobalKey<ScaffoldState>();
|
||
|
|
||
|
void loadView() async{
|
||
|
await Future.delayed(const Duration(seconds: 3),(){
|
||
|
Get.to(()=>const BeginView());
|
||
|
});
|
||
|
}
|
||
|
}
|