mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Scaffold toolBar is-a ToolBar
This commit is contained in:
parent
fe3aee88c7
commit
24d2e69108
@ -9,6 +9,7 @@ import 'package:flutter/widgets.dart';
|
|||||||
|
|
||||||
import 'constants.dart';
|
import 'constants.dart';
|
||||||
import 'material.dart';
|
import 'material.dart';
|
||||||
|
import 'tool_bar.dart';
|
||||||
|
|
||||||
const int _kBodyIndex = 0;
|
const int _kBodyIndex = 0;
|
||||||
const int _kToolBarIndex = 1;
|
const int _kToolBarIndex = 1;
|
||||||
@ -42,7 +43,7 @@ class Scaffold extends StatelessComponent {
|
|||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
|
|
||||||
final Widget body;
|
final Widget body;
|
||||||
final Widget toolBar;
|
final ToolBar toolBar;
|
||||||
final Widget snackBar;
|
final Widget snackBar;
|
||||||
final Widget floatingActionButton;
|
final Widget floatingActionButton;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user