Skip to content

Instantly share code, notes, and snippets.

@codetricity
Last active November 10, 2021 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codetricity/508d4c966ea7a4e7ed32f7277f0953af to your computer and use it in GitHub Desktop.
Save codetricity/508d4c966ea7a4e7ed32f7277f0953af to your computer and use it in GitHub Desktop.
THETA ATK Layout Tutorial
import 'package:flutter/material.dart';
import 'package:thetaf/thetaf.dart';
void main() {
runApp(const AtkTutorial());
}
class AtkTutorial extends StatelessWidget {
const AtkTutorial({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: ThetaWindow(
child: Column(
children: [
const SizedBox(
height: 12,
),
const ResponseWindow(
flex: 5,
),
Expanded(
flex: 5,
child: ListView(
children: const [
InfoButton(),
StateButton(),
TakePictureButton(),
],
),
)
],
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment