Search
 
SCRIPT & CODE EXAMPLE
 

DART

Shadow box around a button Flutter

Container(
            height: 60,
            decoration: BoxDecoration(
              gradient: LinearGradient(
                colors: [
                  Color.fromRGBO(255, 143, 158, 1),
                  Color.fromRGBO(255, 188, 143, 1),
                ],
                begin: Alignment.centerLeft,
                end: Alignment.centerRight,
              ),
              borderRadius: const BorderRadius.all(
                Radius.circular(25.0),
              ),
              boxShadow: [
                BoxShadow(
                  color: Colors.pink.withOpacity(0.2),
                  spreadRadius: 4,
                  blurRadius: 10,
                  offset: Offset(0, 3),
                )
              ]
            ),
            child: Center(
              child: GestureDetector(
                onTap: () {},
                child: Text(
                  'Create Account',
                  textAlign: TextAlign.left,
                  style: TextStyle(
                    fontFamily: "Netflix",
                    fontWeight: FontWeight.w600,
                    fontSize: 18,
                    letterSpacing: 0.0,
                    color: Colors.white,
                  ),
                ),
              ),
            ),
          ),
Comment

PREVIOUS NEXT
Code Example
Swift :: random string swift 
Swift :: swift open url 
Swift :: firebase crashlytics dsym missing 
Swift :: swiftui random color 
Swift :: Split a String into an array in Swift 
Swift :: set image width and height swiftui 
Swift :: convert image to base64 in swift ui 
Swift :: swift first where 
Swift :: get device name swift 
Swift :: firebase nil value equals 
Swift :: remove back button from navigation bar swift 
Swift :: date in swiftui 
Swift :: swiftui navigation link with button 
Swift :: uicolor from hex swift 
Swift :: Return multiple value of different types swift 
Swift :: swift uiview gradient 
Swift :: swift date plus1 day 
Swift :: dark mode change immediately swift 
Swift :: swiftui scrollview 
Swift :: push view controller programmatically swift 5 
Swift :: how to change the color of back button navbar xcodee 
Swift :: swift create uinavigationcontroller programmatically 
Swift :: Swift Using insert() 
Swift :: check notification permission ios swift 
Swift :: swift array map to another array 
Swift :: undefined symbol __swift_force_load_$swift webkit react native 
Swift :: get last element of array swift 
Swift :: variable sum in swift 
Swift :: swift combine 2 sets 
Swift :: Logical Operators Swift 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =