This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN apt update | |
RUN apt upgrade -y | |
RUN apt install -y apt-utils | |
RUN a2enmod rewrite | |
RUN apt install -y libmcrypt-dev | |
RUN docker-php-ext-install mcrypt | |
RUN apt install -y libicu-dev | |
RUN docker-php-ext-install -j$(nproc) intl | |
RUN apt-get install -y libfreetype6-dev libjpeg62-turbo-dev libpng12-dev | |
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class LifeCycle extends StatefulWidget { | |
// 1 - createState(): When the Framework is instructed to build a StatefulWidget, it immediately calls createState() | |
@override | |
_LifeCycleState createState() => _LifeCycleState(); | |
} | |
class _LifeCycleState extends State<LifeCycle> { | |
// 2 - mounted is true: When createState creates your state class, a buildContext is assigned to that state. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am defro on github. | |
* I am defro (https://keybase.io/defro) on keybase. | |
* I have a public key ASAh99k56l8Y3AhFWMUt3CtqrG7bQrFSNAyCAyspQqXzHwo | |
To claim this, I am signing this object: |