Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter animatedcontainer

AnimatedContainer(
		curve: Curves.linear,
        color: Colors.pink[100],
        width: 200.0, // change width or height to see animation
        height: 200.0,
        duration: const Duration(seconds: 2),
      )
Comment

flutter animatedcontainer

AnimatedContainer(
          width: MediaQuery.of(context).size.width, //change to see the change - super cool
          alignment: Alignment.bottomCenter,        //align to i.e topCenter to see the awesome transition
          height: MediaQuery.of(context).size.height,
          duration: Duration(milliseconds: 100),
          padding: EdgeInsets.fromLTRB(15, 10, 15, 5),
          decoration: BoxDecoration(
              gradient: LinearGradient(
            begin: Alignment.topRight,
            end: Alignment.bottomLeft,
            colors: [Colors.grey, Colors.white],
          )),
Comment

PREVIOUS NEXT
Code Example
Dart :: flutter print line char limit 
Dart :: clickable card flutter 
Dart :: flutter screen size 
Dart :: custom error snackbar flutter 
Dart :: how to replace commas in model array of strings in dart 
Dart :: flutter multipline textfield height 
Dart :: DartPad localStorage 
Dart :: flutter slider color 
Dart :: flutter container height 100 percent 
Dart :: text field validation in flutter 
Dart :: flutter video thumbnail from url 
Dart :: flutter datatypes check 
Dart :: how to create timer in flutter 
Dart :: flutter alertdialog actionsoverflowdirecation 
Dart :: flutter widget for space 
Dart :: how to convert int/int to float dart 
Dart :: dart get type of list 
Dart :: dart getter 
Dart :: flutter run in background every second 
Dart :: dart delay 
Dart :: flutter snackbar action button text color 
Dart :: Flutter dynamic table example 
Dart :: perform async task when build is done flutter 
Dart :: dart function 
Dart :: price discount cross flutter text 
Dart :: flutter datacolumn center text 
Dart :: Flutter: How do you make a card clickable? 
Dart :: flutter date with timezone 
Dart :: add all items to a list in dart 
Dart :: the instance member cannot be accessed in an initializer 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =