Answers for "bottom overflow flutter"

0

bottom overflow flutter

import 'package:flutter/material.dart';

  void main() => runApp(MyApp());

  class MyApp extends StatefulWidget {
    @override
    _MyAppState createState() => _MyAppState();
  }

  class _MyAppState extends State<MyApp> {
    double padValue = 0;

    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        home: Scaffold(
            appBar: AppBar(
              title: Text("OverFlow Fix Example"),
            ),
            body: Container(
              child: Column(
                  mainAxisSize: MainAxisSize.min,
                  crossAxisAlignment: CrossAxisAlignment.center,
                  children: <Widget>[
                    Expanded(child: Icon(Icons.access_alarm, size: 800.0)),
                  ]),
            )),
      );
    }
  }
Posted by: Guest on August-03-2021

Browse Popular Code Answers by Language