Easy Way of adding a drop down button,When i was rookie i use to get help online eaverytime for adding dropdown so i simplified it for all and will be adding new features to it
Features
basic dropdown btn, some styles
Getting started
Importing Package
import 'package:simp_dropdown_btn/simp_dropdown_btn.dart'
add a variable
var _myDropValue = 'Lion';
Add like simple widget with some values
SimpDropDown(
btnLabel: _myDropValue,
items: [
{
'value': 'Lion', // this must be same as _myDropValue
'text': 'Lion',
},
{'value': 'Tiger', 'text': 'Tiger'}
],
onChanged: (value) {
setState(() {
_myDropValue = value!;
});
},
),
Some Options u can use
borderColor: Colors.transparent,
fontColor : Colors.amber,
borderRadius: 2,
borderWid: 0,
ico: Icons.list,
icoSize: 35,
Additional information
Easy Support,Help or Work With Me