File tree Expand file tree Collapse file tree 2 files changed +2
-31
lines changed Expand file tree Collapse file tree 2 files changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -10,39 +10,10 @@ class MyApp extends StatelessWidget {
1010 Widget build (BuildContext context) => MaterialApp (
1111 title: 'GetWidget' ,
1212 debugShowCheckedModeBanner: false ,
13- home: GF (),
13+ home: MyHomePage (),
1414 );
1515}
1616
17- class GF extends StatefulWidget {
18- @override
19- _GFState createState () => _GFState ();
20- }
21-
22- class _GFState extends State <GF > {
23- @override
24- Widget build (BuildContext context) {
25- return Scaffold (
26- body: Row (children: [
27- Container (
28- child: GFBorder (
29- child: Text ('gvhjnk' ),
30- type: GFBorderType .Oval ,
31- dashedLine: [2 , 2 ],
32- ),
33- ),
34- Container (
35- child: GFBorder (
36- child: Text ('gvhjnk' ),
37- type: GFBorderType .Rect ,
38- radius: Radius .circular (30 ),
39- dashedLine: [2 , 0 ],
40- ),
41- )
42- ]));
43- }
44- }
45-
4617class MyHomePage extends StatefulWidget {
4718 @override
4819 _MyHomePageState createState () => _MyHomePageState ();
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class DashedType extends CustomPainter {
7373 return dashPath (path, dashedarray: CircularIntervalList (dashedLine));
7474 }
7575
76- /// gives a circular path og borderType
76+ /// gives a circular path of borderType
7777 Path _getCirclePath (Size size) {
7878 final double width = size.width;
7979 final double height = size.height;
You can’t perform that action at this time.
0 commit comments