[
这是当我将Navigator从一个屏幕切换到另一屏幕时显示的内容
public function rules()
{
if($this->method() == 'GET')
{
return [
'customer' => 'required|numeric',
];
}
if($this->method() == 'POST')
{
return [
'author' => 'required|numeric',
];
}
}
我在应用栏中使用name1变量 appBar:AppBar( 标题:文本(“ MILAN-” + name1), ),