Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (39 sloc) 1.1 KB
import 'package:flutter/material.dart';
import 'package:flutter_widget_guide/utils.dart';
class InheritedWidgett extends StatefulWidget {
@override
_InheritedWidgettState createState() => _InheritedWidgettState();
}
class _InheritedWidgettState extends State<InheritedWidgett> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
centerTitle: true,
title: Text(
'Inherited Widget',
style: TextStyle(
fontSize: 20.0,
fontWeight: FontWeight.bold,
fontFamily: Utils.ubuntuRegularFont),
),
),
body: Center(
child: Padding(
padding: const EdgeInsets.all(12.0),
child: Container(
color: Colors.white,
child: Text(
"This widget will be added soon",
style: TextStyle(
fontSize: 20.0,
color: Colors.black,
fontWeight: FontWeight.bold,
fontFamily: Utils.ubuntuRegularFont),
),
),
),
),
);
}
}
You can’t perform that action at this time.