So that, when we want to display a SnackBar, we can access the Scaffold current state using the _scaffoldKey. main.dart import 'package:flutter/material.dart'; ...
確定! 回上一頁