0% found this document useful (0 votes)
21 views1 page

Beginner Flutter App Guide

This document contains a simple Flutter application code. It creates a MaterialApp with a Scaffold that includes an AppBar, a centered text widget, and a FloatingActionButton. The app displays 'my first app' as the title and 'hello, ninjas!' as the main content.

Uploaded by

jak jak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

Beginner Flutter App Guide

This document contains a simple Flutter application code. It creates a MaterialApp with a Scaffold that includes an AppBar, a centered text widget, and a FloatingActionButton. The app displays 'my first app' as the title and 'hello, ninjas!' as the main content.

Uploaded by

jak jak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

import 'package:flutter/material.

dart';

void main() => runApp(MaterialApp(


home: Scaffold(
appBar: AppBar(
title: Text('my first app'),
centerTitle: true,
),
body: Center(
child: Text('hello, ninjas!'),
),
floatingActionButton: FloatingActionButton(
child: Text('click'),
),
),
));

You might also like