- Solved issue number #5 [double container border color]

master
NikhilVadoliya 4 years ago
parent a0a2e41d6d
commit aaaf597989

@ -40,7 +40,7 @@ class _MyAppState extends State<MyApp> {
title, title,
style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700), style: TextStyle(fontSize: 22, fontWeight: FontWeight.w700),
), ),
sliderMenuWidget: MenuWidget( sliderMenu: MenuWidget(
onItemClick: (title) { onItemClick: (title) {
_key.currentState.closeDrawer(); _key.currentState.closeDrawer();
setState(() { 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( return Container(
child: ListView.separated( child: ListView.separated(
padding: const EdgeInsets.symmetric(horizontal: 10), padding: const EdgeInsets.symmetric(horizontal: 10),
itemBuilder: (buider, index) { itemBuilder: (builder, index) {
return LimitedBox( return LimitedBox(
maxHeight: 150, maxHeight: 150,
child: Container( child: Container(

@ -163,7 +163,7 @@ class SliderMenuContainerState extends State<SliderMenuContainer>
curve: Curves.easeIn, curve: Curves.easeIn,
width: double.infinity, width: double.infinity,
height: double.infinity, height: double.infinity,
color: Colors.white, color: widget.appBarColor,
transform: getTranslationValues(widget.sliderOpen), transform: getTranslationValues(widget.sliderOpen),
child: Column( child: Column(
children: <Widget>[ children: <Widget>[

Loading…
Cancel
Save