Skip to content

Need more customization #83

Description

@alejandrogiubel
Image
itemBuilder: (context, index, Prediction prediction) {
            final text = prediction.terms
                ?.take(
                  prediction.terms!.length - 1,
                )
                .map((term) => term.value)
                .join(', ');
            if (text != null) {
              return Padding(
                padding: EdgeInsets.symmetric(vertical: 4.ss),
                child: Row(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    const Icon(GIcons.place),
                    const SizedBox(width: 7),
                    if (prediction.terms?.isNotEmpty ?? false)
                      Expanded(
                        child: Padding(
                          padding: EdgeInsets.only(top: 2.ss),
                          child: Text(
                            '$text.',
                            style: context.textTheme.bodySmall,
                          ),
                        ),
                      ),
                  ],
                ),
              );
            } else {
              return const SizedBox.shrink();
            }
          },

Need to remove the white background when scroll items

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions