buildView method

  1. @override
Widget buildView(
  1. BuildContext context,
  2. IBaseViewModel? viewModel
)
override

Implementation

@override
Widget buildView(BuildContext context, IBaseViewModel? viewModel) {
  return Container(
    color: Colors.red,
    child: GestureDetector(
      child: Text("跳转",style: TextStyle(color: Colors.blue),),
      onTap: (){
        Navigator.pushNamed(context, "Thrid");

},
    ),
  );
}