Skip to content

Gap not working with Wrap #22

@skanderhamdi

Description

@skanderhamdi

Is there something we can do to use Gap inside Wrap widget?

Wrap(
      direction: Axis.horizontal,
      crossAxisAlignment: WrapCrossAlignment.center,
      children: [
                Text(
                        'Message',
                        style: Get.textTheme.labelMedium!.copyWith(color: Colors.black.withOpacity(0.5)),
                        maxLines: 1,
                        overflow: TextOverflow.ellipsis,
                  ),
                  const Gap(5),
                  Icon(Icons.circle_rounded, size: 8 color: Colors.black.withOpacity(0.5)),
                  const Gap(5),
                  Text(message, style: Get.textTheme.labelMedium!.copyWith(color: Colors.black.withOpacity(0.5)))
       ]
)

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