Commit 24d2e691 authored by Hans Muller's avatar Hans Muller

Scaffold toolBar is-a ToolBar

parent fe3aee88
...@@ -9,6 +9,7 @@ import 'package:flutter/widgets.dart'; ...@@ -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 { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment