Professional Documents
Culture Documents
ANTONIOMaurice Rubien C. Chapter 8
ANTONIOMaurice Rubien C. Chapter 8
BSCS 3-1
Chapter 8 Flutter - Intro to Gestures sample program
Code:
import 'package:flutter/material.dart';
@override
Widget build(BuildContext context){
return
Scaffold(
appBar: AppBar(
title: Text(this.title),
),
body: Center(
child: GestureDetector(
onTap:(){
_showDialog(context);
},
Antonio, Maurice Rubien C.
BSCS 3-1
Chapter 8 Flutter - Intro to Gestures sample program
child: Text(
'Maurice Rubien C. Antonio',
),
),
),
);
}
}
Output/s:
Antonio, Maurice Rubien C.
BSCS 3-1
Chapter 8 Flutter - Intro to Gestures sample program
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA