Skip to content

Commit 2ddb667

Browse files
committed
master pull
1 parent 59e51b4 commit 2ddb667

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

example/lib/main.dart

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff 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-
4617
class MyHomePage extends StatefulWidget {
4718
@override
4819
_MyHomePageState createState() => _MyHomePageState();

lib/components/border/gf_dashed_border.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)