Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smell bad code #7

Open
vovs03 opened this issue Mar 20, 2024 · 0 comments
Open

smell bad code #7

vovs03 opened this issue Mar 20, 2024 · 0 comments

Comments

@vovs03
Copy link
Owner

vovs03 commented Mar 20, 2024

smell bad code


lib/screens/my_home_page.dart

class _MyHomePageState extends State<MyHomePage> {
  // String selectedPage = '';
    body: SafeArea(
      child: Center(
        child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
      
          const Padding(
            child: Text(
              // 'Selected page: $selectedPage', //!<< before string
          ...
            // child: Container(
            //   decoration: const BoxDecoration(
            //     image: DecorationImage(image: NetworkImage('https://gas-kvas.com/uploads/posts/2023-01/1673590964_gas-kvas-com-p-detskii-risunok-trenera-6.jpg'))
            //   ),
            // ),


            // child: Image.network('https://ae04.alicdn.com/kf/H2452570c8c09497c845d09a26f81684eq.jpg',
            //   // Image.network('https://e7.pngegg.com/pngimages/952/710/png-clipart-mentorship-teacher-coaching-business-teacher-boy-expert.png',
            //   // scale: 0.5,
            //   // size: Size(591.0, 465.0),
            //   // width: 360,
            //   height: 200,
            // ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant