Commit ffc88d71 authored by susheel chebrolu's avatar susheel chebrolu

Upload New File

parent 92895170
import 'package:flutter/material.dart';
void main() {
runApp(Myproblems());
}
class Myproblems extends StatelessWidget {
static String tag = 'myproblems';
@override
Widget build(BuildContext context) {
return MaterialApp(
home: DefaultTabController(
length: 2,
child: Scaffold(
appBar: AppBar(
bottom: TabBar(
tabs: [
Tab(text: 'resolved',),
Tab(text: 'unresolved',),
],
),
title: Text('My Problems'),
),
body: TabBarView(
children: [
Text("Unresolved Problems"),
Text("Resolved Problems"),
],
),
),
),
);
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment