@ -40,7 +40,7 @@ class _MyAppState extends State<MyApp> {
title,
style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700),
),
sliderMenuWidget: MenuWidget(
sliderMenu: MenuWidget(
onItemClick: (title) {
_key.currentState.closeDrawer();
setState(() {
@ -48,7 +48,7 @@ class _MyAppState extends State<MyApp> {
});
},
sliderMainWidget: MainWidget()),
sliderMain: MainWidget()),
);
}
@ -29,7 +29,7 @@ class _MainWidgetState extends State<MainWidget> {
return Container(
child: ListView.separated(
padding: const EdgeInsets.symmetric(horizontal: 10),
itemBuilder: (buider, index) {
itemBuilder: (builder, index) {
return LimitedBox(
maxHeight: 150,
child: Container(
@ -163,7 +163,7 @@ class SliderMenuContainerState extends State<SliderMenuContainer>
curve: Curves.easeIn,
width: double.infinity,
height: double.infinity,
color: Colors.white,
color: widget.appBarColor,
transform: getTranslationValues(widget.sliderOpen),
child: Column(
children: <Widget>[