We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After many trials I ran the given code for the complete app and have the same problem.
There is overflow in the middle card which contains the slider and height.
The text was updated successfully, but these errors were encountered:
@aitrenI you can overcome it by using SingleChildScrollView
Sorry, something went wrong.
Expanded( child: ReusableCard( colour: kActiveCardColour, cardChild: SingleChildScrollView( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Text( 'HEIGHT', style: kLabelTextStyle, ), Row( mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.baseline, textBaseline: TextBaseline.alphabetic, children: [ Text( height.toString(), style: kNumberTextStyle, ), Text( 'cm', style: kLabelTextStyle, ) ], ), SliderTheme( data: SliderTheme.of(context).copyWith( inactiveTrackColor: Color(0xFF8D8E98), activeTrackColor: Colors.white, thumbColor: Color(0xFFEB1555), overlayColor: Color(0x29EB1555), thumbShape: RoundSliderThumbShape(enabledThumbRadius: 15.0), overlayShape: RoundSliderOverlayShape(overlayRadius: 30.0), ), child: Slider( value: height.toDouble(), min: 120.0, max: 220.0, onChanged: (double newValue) { setState(() { height = newValue.round(); }); }, ), ), ], ), ), ), ),
No branches or pull requests
After many trials I ran the given code for the complete app and have the same problem.
There is overflow in the middle card which contains the slider and height.
The text was updated successfully, but these errors were encountered: