add inputtext simple
This commit is contained in:
parent
eadf07177b
commit
f267e3ede9
@ -56,6 +56,8 @@ class _MyHomePageState extends State<ListItemMenu> {
|
||||
bool showDateFields = false; // State to toggle date fields
|
||||
bool showArrow = true;
|
||||
bool showInputSearch = true;
|
||||
bool showInputGeo = true;
|
||||
bool showInputTag = true;
|
||||
// Fetching events from API
|
||||
static Future<List<Events>> getPosts() async {
|
||||
PermissionStatus status = await Permission.location.status;
|
||||
@ -678,6 +680,7 @@ class _MyHomePageState extends State<ListItemMenu> {
|
||||
body: Column(
|
||||
children: [
|
||||
if (showInputSearch) _buildItemZoneSearchField(),
|
||||
if ((showDateFields) && (showInputTag)) _buildTagsField(),
|
||||
if ((showDateFields) && (showArrow))
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
@ -685,8 +688,8 @@ class _MyHomePageState extends State<ListItemMenu> {
|
||||
Flexible(child: _buildDateField("start")),
|
||||
Flexible(child: _buildDateField("end"))
|
||||
]),
|
||||
if ((showDateFields) && (showArrow)) _buildTagsField(),
|
||||
if (showDateFields) _buildGeographicalZoneSearchField(),
|
||||
if ((showDateFields) && (showInputGeo))
|
||||
_buildGeographicalZoneSearchField(),
|
||||
if (showArrow)
|
||||
IconButton(
|
||||
onPressed: () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user