mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 07:07:19 +00:00
layout web
This commit is contained in:
56
lib/web_layout/menu_sidebar.dart
Normal file
56
lib/web_layout/menu_sidebar.dart
Normal file
@ -0,0 +1,56 @@
|
||||
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:syncrow_web/utils/color_manager.dart';
|
||||
import 'package:syncrow_web/utils/style.dart';
|
||||
|
||||
class MenuSidebar extends StatelessWidget {
|
||||
const MenuSidebar({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Expanded(
|
||||
child: Container(
|
||||
decoration: const BoxDecoration(
|
||||
shape: BoxShape.rectangle,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: Colors.black26,
|
||||
offset: Offset(4, 0),
|
||||
blurRadius: 10,
|
||||
)
|
||||
],
|
||||
color: ColorsManager.whiteColors,
|
||||
),
|
||||
width: 200,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(15.0),
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
const Text('Community',style: TextStyle(fontSize: 20),),
|
||||
CircleAvatar(
|
||||
backgroundColor: Colors.grey.shade200,
|
||||
child: IconButton(
|
||||
color: ColorsManager.onSecondaryColor,
|
||||
onPressed: () {},
|
||||
icon: const Icon(Icons.add)
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
const SizedBox(height: 20,),
|
||||
TextFormField(
|
||||
controller: TextEditingController(),
|
||||
decoration:textBoxDecoration
|
||||
),
|
||||
Container(height: 100,)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user