Skip to content

Commit

Permalink
fix:优化 Demo AppBar 样式,使用 BrnAppBar 展示。 (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
violinday authored Apr 1, 2022
1 parent ab7db06 commit b317ec9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MyApp extends StatelessWidget {
return MaterialApp(
title: 'Flutter Example',
theme: ThemeData(
primarySwatch: Colors.blue,
primarySwatch: Colors.grey,
),
home: HomePage(),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _SelectionViewExamplePageState
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: BrnAppBar(title: Text(widget._title)),
appBar: BrnAppBar(title: widget._title),
body: SingleChildScrollView(
child: Column(
children: <Widget>[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _SelectionViewExamplePageState
@override
Widget build(BuildContext context) {
return Scaffold(
appBar:BrnAppBar(title: Text(widget._title)),
appBar:BrnAppBar(title: widget._title),
body: SingleChildScrollView(
child: Column(
children: <Widget>[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class _SelectionViewExamplePageState
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: BrnAppBar(title: Text(widget._title)),
appBar: BrnAppBar(title: widget._title),
body: SingleChildScrollView(
child: Column(
children: <Widget>[
Expand Down

0 comments on commit b317ec9

Please sign in to comment.