how to create ElevatedButton in flutter

ElevatedButton


ElevatedButton(
            onPressed: () {
      print('Button Pressed');
      },
        style: ElevatedButton.styleFrom(
          backgroundColor: Colors.blue, // बटन का रंग
          padding: EdgeInsets.symmetric(horizontal: 20, vertical: 12), // बटन का आकार
          textStyle: TextStyle(fontSize: 18, fontWeight: FontWeight.bold), // टेक्स्ट स्टाइल
        ),
        child: Text('Click Me'),
      ),
      
        

Post a Comment

0 Comments