Evaluating bids

Problema no Table_calendar Flutter

Published on the March 24, 2021 in IT & Programming

About this project

Open

Estou com problemas de enviar variaveis para um widget na mesma página do projeto.

// SEGUE O CODIGO
for (var jsonElement in lista) {
        _events
            .putIfAbsent(
              DateTime.parse(jsonElement['data_agenda']),
              () => [],
            )
            .add(
                "${jsonElement['idos']} - ${jsonElement['cliente']} | ${jsonElement['data_agenda']} ${jsonElement['hora_agenda']}h");
      } ...
Widget _buildEventList() {
    return ListView(
        children: _selectedEvents
            .map((event) => Container( ....
// AQUI A minha gambi >>>
child: listtile(
                    title: text(
                      event,
                      style: textstyle(
                        color: colors.white,
                        fontSize: 13.0,
                      ),
                    ),
                    onTap: () {
                      var evento = event.split('-');
                      var idOs = evento[0];

                      var now = new DateTime.now().toString().substring(0, 10);
                      var dataagenda = event.split('|');
                      var dtagenda = dataagenda[1].trim().substring(0, 10);

                      if (dtagenda == now) {
                        _abrir_mapa(idOs);
                      }
                    },
                  ),

Category IT & Programming
Subcategory Apps programming. Android, iOS and others
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have I have an idea
Required availability As needed
Required platforms iPhone, Android
I need to Modify an existing app
App type Utility - Utility application (flash, calculator, etc.)
Similar apps Other
Back-end is required Yes
Payment gateway No

Delivery term: Not specified

Skills needed

Other projects posted by A. R.