Search
 
SCRIPT & CODE EXAMPLE
 

DART

scaffold background color gradient

new Scaffold(
      appBar: AppBar(
        title: Center(child: Text('Awesome AppBar')),
        flexibleSpace: Container(
          decoration: new BoxDecoration(
            gradient: new LinearGradient(
                colors: [
                  const Color(0xFF3366FF),
                  const Color(0xFF00CCFF),
                ],
                begin: const FractionalOffset(0.0, 0.0),
                end: const FractionalOffset(1.0, 0.0),
                stops: [0.0, 1.0],
                tileMode: TileMode.clamp),
          ),
        ),
      ),
      body: ...,
    );
Comment

PREVIOUS NEXT
Code Example
Dart :: how to get screen size in flutter 
Dart :: drawer corner radius flutter 
Dart :: flutter navigation pop 
Dart :: flutter android x 
Dart :: flutter checkbox color 
Dart :: Floating Action Button rectangular shaped (round corners) 
Dart :: dart to double 
Dart :: format currency flutter 
Dart :: to disable the shrinker pass the --no-shrink flag to this command. in flutter 
Dart :: flutter cut string 
Dart :: flutter listview space between items 
Dart :: flutter display widget based on device orientation 
Dart :: flutter column vertical direction 
Dart :: install getx 
Dart :: dart codeunits 
Dart :: dart reverse list 
Dart :: StateError (Bad state: No element) 
Dart :: flutter chip 
Dart :: dart variable in string 
Dart :: dart hello world 
Dart :: children vs child dart 
Dart :: dart date 
Dart :: flutter remove dropdown shadow appbar 
Dart :: dart int double 
Dart :: dart input int 
Dart :: dart array split 
Dart :: int.parse flutter 
Dart :: flutter phone direct caller 
Dart :: dart double to int 
Dart :: Array of colors in dart 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =