Add scroll bar to mih
This commit is contained in:
parent
f8a722eb50
commit
103ccdc022
28 changed files with 205 additions and 168 deletions
|
|
@ -290,6 +290,7 @@ class _CurrencyExchangeRateState extends State<CurrencyExchangeRate> {
|
|||
return Consumer<MihCalculatorProvider>(
|
||||
builder: (context, calculatorProvider, child) {
|
||||
return MihSingleChildScroll(
|
||||
scrollbarOn: true,
|
||||
child: Padding(
|
||||
padding:
|
||||
MzansiInnovationHub.of(context)!.theme.screenType == "desktop"
|
||||
|
|
|
|||
|
|
@ -94,6 +94,7 @@ class _SimpleCalcState extends State<SimpleCalc> {
|
|||
}
|
||||
}
|
||||
return MihSingleChildScroll(
|
||||
scrollbarOn: true,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
|
|
|
|||
|
|
@ -259,6 +259,7 @@ class _TipCalcState extends State<TipCalc> {
|
|||
|
||||
Widget getBody(double width) {
|
||||
return MihSingleChildScroll(
|
||||
scrollbarOn: true,
|
||||
child: Padding(
|
||||
padding: MzansiInnovationHub.of(context)!.theme.screenType == "desktop"
|
||||
? EdgeInsets.symmetric(horizontal: width * 0.2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue