flutter

 import 'package:flutter/material.dart';


void main() {
  runApp(MaterialApp(debugShowCheckedModeBannerfalsehomeHi()));
}

class Hi extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBarAppBar(
        centerTitletrue,
        titleText("My first App"),
        backgroundColorColors.red[700],
      ),
      bodyColumn(
        children: [
          Center(
            childImage.network(
                'https://static.remove.bg/remove-bg-web/2a274ebbb5879d870a69caae33d94388a88e0e35/assets/start_remove-79a4598a05a77ca999df1dcb434160994b6fde2c3e9101984fb1be0f16d0a74e.png'),
          ),
          Image.asset('assets/2.jpg'),
          Center(
            childText(
              "hello ninjas",
              styleTextStyle(
                fontSize20,
                colorColors.grey.shade600,
                fontWeightFontWeight.bold,
                letterSpacing2.5,
                fontFamily"IndieFlower",
              ),
            ),
          ),
        ],
      ),
      floatingActionButtonFloatingActionButton(
        onPressed: () {},
        backgroundColorColors.red[900],
        childText("Click"),
      ),
    );
  }
}

Comments

Popular posts from this blog

python