Skip to content

Instantly share code, notes, and snippets.

@gladimdim
Last active April 11, 2019 10:17
Show Gist options
  • Save gladimdim/893a4834e0f08359d95fbce60d956303 to your computer and use it in GitHub Desktop.
Save gladimdim/893a4834e0f08359d95fbce60d956303 to your computer and use it in GitHub Desktop.
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Call Center'),
),
body: StreamBuilder(
stream: callCenter.changes,
builder: (context, snapshot) {
return Column(
children: _buildBody() +
[_buildButton()] +
[_buildQueueView(callCenter.queueCalls)],
);
}),
bottomNavigationBar: BottomAppBar(
child: Container(
height: 50.0,
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment