Last active
November 10, 2021 03:47
-
-
Save codetricity/508d4c966ea7a4e7ed32f7277f0953af to your computer and use it in GitHub Desktop.
THETA ATK Layout Tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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