Frezyx / group_button

:sweat_drops: Flutter custom widget to make a group buttons. Included Radio and CheckBox buttons.

Home Page:https://pub.dev/packages/group_button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

group_button_item.dart:91:9: Error: No named parameter with the name 'backgroundColor'. backgroundColor: _getBackgroundColor(theme), ^^^^^^^^^^^^^^^

patrakaibalya opened this issue · comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi, I have the same problem. Maintainer adviced to me upgrade Flutter version to 3.3.0, where as he said background attribute is supported. But if you are using older version of flutter you must change from 'background' to 'primary' and it will work.

I upload 5.2.1 version with compatibility of older versions of flutter
@murat-ti @patrakaibalya