Question: i have a login page in which appears this error when i'm trying to insert text in an input : A RenderFlex overflowed by 104 pixels on the bottom.

here is a part of my code :

```
        Widget build(BuildContext context) {
         return Scaffold(
          backgroundColor: Colors.white,
           body: Center(
           child: Container(
           decoration: BoxDecoration(
            gradient: LinearGradient(
              begin: Alignment.topRight,
              end: Alignment.bottomLeft,
              colors: [Colors.blue, Colors.teal])),
          child: Column(
           children: <Widget>[
          Padding(
            padding: const EdgeInsets.only(top: 70.0, bottom: 0.0),
            child: Image.asset(
              'asset/img/téléchargement.jpg',
              height: 100,
              width: 100,
            ),
          ),
          Card(
            shape: RoundedRectangleBorder(
                borderRadius: BorderRadius.circular(15)),
            margin: EdgeInsets.fromLTRB(35, 3, 35, 60),
            elevation: 4.0,
            color: Colors.white,
            child: ListView(
              shrinkWrap: true,
              children: <Widget>[... 

```

i have to put padding inside the card but nothing works.

Answer: 
You can do:

In `vars.py`

```
var_one = 'happy'
var_two = '2345'
var_three = '-24.24'
var_four = 'Chocolate'

```

In `main.py`

```
import vars

# hard coded attribute lookup
print(vars.var_one)  # prints 'happy'

# to get an attribute dynamically, use getattr
name = "var_three"
print(getattr(vars, name))  # prints '-24.24'

```

Further example where the import is also done dynamically:

In `main.py`

```
module_name = "vars"

module = __import__(module_name)   # imports vars.py to variable 'module'

var_name = "var_three"

print(getattr(module, var_name))  # prints '-24.24'

```

although for situations where even the name of the file containing variables is only known at run time, it might make more sense to use something like `configparser`:

In `vars.ini`:

```
[DEFAULT]
var_one = happy
var_two = 2345
var_three = -24.24
var_four = Chocolate

```

In `main.py`:

```
import configparser

filename = "vars.ini"
varname = "var_one"
section = "DEFAULT"

config = configparser.ConfigParser()

config.read(filename)

print(config.get(section, varname))  # prints 'happy'

```
You can import the variables just like you would import functions from the other script.

```
import <yourscriptfile> (Without the .py extension)
<yourscriptfile>.varname1
<yourscriptfile>.varname2

```

and so on