add ribbon to settings page
This commit is contained in:
parent
481dbfa623
commit
0c5f512766
|
@ -18,17 +18,38 @@ Widget settings(context) {
|
|||
content: const about.AboutSettings(),
|
||||
)
|
||||
];
|
||||
return ListView.separated(
|
||||
itemBuilder: (context, index) {
|
||||
return categories[index];
|
||||
},
|
||||
separatorBuilder: (context, index) {
|
||||
return const Divider(
|
||||
height: 0,
|
||||
color: Colors.transparent,
|
||||
);
|
||||
},
|
||||
itemCount: categories.length);
|
||||
return Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
Expanded(
|
||||
child: ListView.separated(
|
||||
shrinkWrap: true,
|
||||
itemBuilder: (context, index) {
|
||||
return categories[index];
|
||||
},
|
||||
separatorBuilder: (context, index) {
|
||||
return const Divider(
|
||||
height: 0,
|
||||
color: Colors.transparent,
|
||||
);
|
||||
},
|
||||
itemCount: categories.length),
|
||||
),
|
||||
Container(
|
||||
decoration: BoxDecoration(
|
||||
border: Border(
|
||||
top: BorderSide(
|
||||
color: Theme.of(context).colorScheme.primary, width: 2))),
|
||||
child: Wrap(
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: () {},
|
||||
icon: const Icon(Icons.search),
|
||||
)
|
||||
],
|
||||
)),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
class SettingsPanel extends StatelessWidget {
|
||||
|
|
Loading…
Reference in New Issue